소스 검색

clear code

Marino Faggiana 7 년 전
부모
커밋
d2257799e0
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      iOSClient/AppDelegate.m

+ 2 - 1
iOSClient/AppDelegate.m

@@ -1499,8 +1499,9 @@
             
             if ([metadataNet.session isEqualToString:k_upload_session_extension]) {
                 
+                NSString *atPath = [NSString stringWithFormat:@"%@/%@", metadataNet.path, metadataNet.fileName];
                 NSString *toPath = [NSString stringWithFormat:@"%@/%@", self.directoryUser, metadataNet.fileName];
-                [CCUtility copyFileAtPath:metadataNet.path toPath:toPath];
+                [CCUtility copyFileAtPath:atPath toPath:toPath];
                 
                 metadataNet.fileID = @"";
                 metadataNet.session = k_upload_session;