]> git.saurik.com Git - cydia.git/commitdiff
CTSIMSupportCopyMobileSubscriberNetworkCode() was calling CTSIMSupportCopyMobileSubsc...
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 18 Mar 2011 12:28:18 +0000 (05:28 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Fri, 18 Mar 2011 12:28:18 +0000 (05:28 -0700)
MobileCydia.mm

index f57d5f165d4ccc365a273cc6a32ac239aea61a08..946bf03c748ad56065c2b316bd4ab9b3368b07c6 100644 (file)
@@ -10226,7 +10226,7 @@ int main(int argc, char *argv[]) {
     CFStringRef mcc($CTSIMSupportCopyMobileSubscriberCountryCode == NULL ? NULL : (*$CTSIMSupportCopyMobileSubscriberCountryCode)(kCFAllocatorDefault));
 
     CFStringRef (*$CTSIMSupportCopyMobileSubscriberNetworkCode)(CFAllocatorRef);
-    $CTSIMSupportCopyMobileSubscriberNetworkCode = reinterpret_cast<CFStringRef (*)(CFAllocatorRef)>(dlsym(RTLD_DEFAULT, "CTSIMSupportCopyMobileSubscriberCountryCode"));
+    $CTSIMSupportCopyMobileSubscriberNetworkCode = reinterpret_cast<CFStringRef (*)(CFAllocatorRef)>(dlsym(RTLD_DEFAULT, "CTSIMSupportCopyMobileSubscriberNetworkCode"));
     CFStringRef mnc($CTSIMSupportCopyMobileSubscriberNetworkCode == NULL ? NULL : (*$CTSIMSupportCopyMobileSubscriberNetworkCode)(kCFAllocatorDefault));
 
     if (mcc != NULL && mnc != NULL)