summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-22 01:49:52 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-22 01:49:52 -0700
commit6f44d712c7dc9d3161a1c7beb2c9bc89a86e3337 (patch)
treed197b041784dfc25f1689b03d912761c399c7408
parent31eedaaeabf1d43d819819a72c1954470d15d7db (diff)
Rename X-Cydia-Cf-Version to X-Cydia-Cf.
-rw-r--r--MobileCydia.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 6ece838..368f629 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -4603,8 +4603,8 @@ static _H<NSMutableSet> Diversions_;
NSURL *url([copy URL]);
NSString *host([url host]);
- if ([copy valueForHTTPHeaderField:@"X-Cydia-Cf-Version"] == nil)
- [copy setValue:[NSString stringWithFormat:@"%.2f", kCFCoreFoundationVersionNumber] forHTTPHeaderField:@"X-Cydia-Cf-Version"];
+ if ([copy valueForHTTPHeaderField:@"X-Cydia-Cf"] == nil)
+ [copy setValue:[NSString stringWithFormat:@"%.2f", kCFCoreFoundationVersionNumber] forHTTPHeaderField:@"X-Cydia-Cf"];
if (Machine_ != NULL && [copy valueForHTTPHeaderField:@"X-Machine"] == nil)
[copy setValue:[NSString stringWithUTF8String:Machine_] forHTTPHeaderField:@"X-Machine"];