summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}