From: Jay Freeman (saurik) Date: Fri, 18 Mar 2011 12:28:18 +0000 (-0700) Subject: CTSIMSupportCopyMobileSubscriberNetworkCode() was calling CTSIMSupportCopyMobileSubsc... X-Git-Tag: v1.1.0%rc1~81 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/4f749ed1cbdd574e5d387234815c4b505f69e439 CTSIMSupportCopyMobileSubscriberNetworkCode() was calling CTSIMSupportCopyMobileSubscriberCountryCode(). --- diff --git a/MobileCydia.mm b/MobileCydia.mm index f57d5f16..946bf03c 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -10226,7 +10226,7 @@ int main(int argc, char *argv[]) { CFStringRef mcc($CTSIMSupportCopyMobileSubscriberCountryCode == NULL ? NULL : (*$CTSIMSupportCopyMobileSubscriberCountryCode)(kCFAllocatorDefault)); CFStringRef (*$CTSIMSupportCopyMobileSubscriberNetworkCode)(CFAllocatorRef); - $CTSIMSupportCopyMobileSubscriberNetworkCode = reinterpret_cast(dlsym(RTLD_DEFAULT, "CTSIMSupportCopyMobileSubscriberCountryCode")); + $CTSIMSupportCopyMobileSubscriberNetworkCode = reinterpret_cast(dlsym(RTLD_DEFAULT, "CTSIMSupportCopyMobileSubscriberNetworkCode")); CFStringRef mnc($CTSIMSupportCopyMobileSubscriberNetworkCode == NULL ? NULL : (*$CTSIMSupportCopyMobileSubscriberNetworkCode)(kCFAllocatorDefault)); if (mcc != NULL && mnc != NULL)