summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
Diffstat (limited to 'MobileCydia.mm')
-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"];