summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-22 18:41:30 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-22 18:41:30 -0700
commit37f1fb03279b8a53166a602fc49975aa07953700 (patch)
tree6d29fff6b9a36d24f5064055688673b8d388aab8
parent518a552a416971e57e565b3942104a988294c3fd (diff)
Use kCFAllocatorDefault, not NULL.
-rw-r--r--MobileCydia.mm2
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);
}