Commit e27467f8 authored by Felix Paul Kühne's avatar Felix Paul Kühne

Cosmetics

parent a5c298da
......@@ -135,7 +135,7 @@
_currentFileList = [NSArray arrayWithArray:listOfGoodFilesAndFolders];
APLog(@"found filtered metadata for %lu files", _currentFileList.count);
APLog(@"found filtered metadata for %lu files", (unsigned long)_currentFileList.count);
if ([self.delegate respondsToSelector:@selector(mediaListUpdated)])
[self.delegate mediaListUpdated];
}
......
......@@ -202,6 +202,7 @@
NSError *error = nil;
NSData *receivedData = [[NSData alloc] initWithData:[NSURLConnection sendSynchronousRequest:request returningResponse:&response error:&error]];
NSInteger httpStatus = [(NSHTTPURLResponse *)response statusCode];
receivedData = nil;
if (httpStatus == 200) {
NSString *receivedSub = [NSString stringWithContentsOfURL:[NSURL URLWithString:CheckURL] encoding:NSASCIIStringEncoding error:nil];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment