diff --git a/src/com/owncloud/android/lib/common/operations/RemoteOperationResult.java b/src/com/owncloud/android/lib/common/operations/RemoteOperationResult.java index b2422001..e8b0be88 100644 --- a/src/com/owncloud/android/lib/common/operations/RemoteOperationResult.java +++ b/src/com/owncloud/android/lib/common/operations/RemoteOperationResult.java @@ -155,11 +155,11 @@ public class RemoteOperationResult implements Serializable { current = headers[i]; if ("location".equals(current.getName().toLowerCase())) { mRedirectedLocation = current.getValue(); - break; + continue; } if ("www-authenticate".equals(current.getName().toLowerCase())) { mAuthenticate = current.getValue(); - break; + continue; } } }