We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d39ac18 commit 19cf5f1Copy full SHA for 19cf5f1
QiniuSDK/Http/Request/HttpClient/UrlProtocol/QNCFHttpClient.m
@@ -366,7 +366,7 @@ - (NSError *)translateCFNetworkErrorIntoUrlError:(NSError *)cfError{
366
}
367
368
NSInteger errorCode = kQNNetworkError;
369
- NSString *errorInfo = [NSString stringWithFormat:@"cf client:[%ld] %@", (long)errorCode, cfError.localizedDescription];
+ NSString *errorInfo = [NSString stringWithFormat:@"cf client:[%ld] %@", (long)cfError.code, cfError.localizedDescription];
370
switch (cfError.code) {
371
case ENOENT: /* No such file or directory */
372
errorCode = NSFileNoSuchFileError;
0 commit comments