diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-22 18:41:30 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-22 18:41:30 -0700 |
commit | 37f1fb03279b8a53166a602fc49975aa07953700 (patch) | |
tree | 6d29fff6b9a36d24f5064055688673b8d388aab8 | |
parent | 518a552a416971e57e565b3942104a988294c3fd (diff) |
Use kCFAllocatorDefault, not NULL.
-rw-r--r-- | MobileCydia.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 1b58d39..1fd292d 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -260,7 +260,7 @@ static bool AprilFools_; static bool IsReachable(const char *name) { SCNetworkReachabilityFlags flags; { - SCNetworkReachabilityRef reachability(SCNetworkReachabilityCreateWithName(NULL, name)); + SCNetworkReachabilityRef reachability(SCNetworkReachabilityCreateWithName(kCFAllocatorDefault, name)); SCNetworkReachabilityGetFlags(reachability, &flags); CFRelease(reachability); } |