Marino Faggiana %!s(int64=7) %!d(string=hai) anos
pai
achega
3b501627c1

+ 2 - 1
iOSClient/Library/OCCommunicationLib/OCWebDavClient/OCWebDAVClient.m

@@ -268,7 +268,8 @@ NSString const *OCWebDAVModificationDateKey	= @"modificationdate";
 
 - (void)search:(NSString *)path folder:(NSString *)folder fileName:(NSString *)fileName depth:(NSString *)depth dateLastModified:(NSString *)dateLastModified contentType:(NSArray *)contentType user:(NSString *)user userID:(NSString *)userID onCommunication:(OCCommunication *)sharedOCCommunication withUserSessionToken:(NSString *)token success:(void(^)(NSHTTPURLResponse *, id, NSString *token))success failure:(void(^)(NSHTTPURLResponse *, id  _Nullable responseObject, NSError *, NSString *token))failure {
     
-    NSString *body, *whereType;
+    NSString *body = @"";
+    NSString *whereType = @"";
         
     NSParameterAssert(success);