]> git.saurik.com Git - cydia.git/commitdiff
Today we show that no one is above semicolon bugs.
authorJay Freeman (saurik) <saurik@saurik.com>
Thu, 30 Oct 2014 04:59:19 +0000 (21:59 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 30 Oct 2014 04:59:19 +0000 (21:59 -0700)
MobileCydia.mm

index 2ada4ffbde7ce0b82f2d8e934142580d2ea80df8..ac7f0b9a50a02479ac01d438d4f60c84a84ab046 100644 (file)
@@ -9056,7 +9056,7 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi
         if (NSData *data = [NSPropertyListSerialization dataFromPropertyList:Metadata_ format:NSPropertyListBinaryFormat_v1_0 errorDescription:&error]) {
             _trace();
             NSError *error(nil);
-            if (!_root([data writeToFile:@"/var/lib/cydia/metadata.plist" options:NSAtomicWrite error:&error]));
+            if (!_root([data writeToFile:@"/var/lib/cydia/metadata.plist" options:NSAtomicWrite error:&error]))
                 NSLog(@"failure to save metadata data: %@", error);
             _trace();