summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MobileCydia.mm12
m---------SDURLCache0
2 files changed, 5 insertions, 7 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 3e1b684..2b16ee2 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -9739,13 +9739,11 @@ _trace();
[BridgedHosts_ addObject:[[NSURL URLWithString:CydiaURL(@"")] host]];
}
- // on 3.[01], CFURLCacheResponse is backed by NSURLCacheResponse, and vice versa: fail
- if (kCFCoreFoundationVersionNumber >= kCFCoreFoundationVersionNumber_iPhoneOS_3_2)
- [NSURLCache setSharedURLCache:[[[CYURLCache alloc]
- initWithMemoryCapacity:524288
- diskCapacity:10485760
- diskPath:[NSString stringWithFormat:@"%@/Library/Caches/com.saurik.Cydia/SDURLCache", @"/var/root"]
- ] autorelease]];
+ [NSURLCache setSharedURLCache:[[[CYURLCache alloc]
+ initWithMemoryCapacity:524288
+ diskCapacity:10485760
+ diskPath:[NSString stringWithFormat:@"%@/Library/Caches/com.saurik.Cydia/SDURLCache", @"/var/root"]
+ ] autorelease]];
[CydiaWebViewController _initialize];
diff --git a/SDURLCache b/SDURLCache
-Subproject 25be7b92f6b5265ae01197d30165dfb5574bb85
+Subproject 8626864f1339819f57c42bfd299cd3cd3dbdf49