From 1c851c273dece4d1a6efa5a6e093557bd0e862c1 Mon Sep 17 00:00:00 2001 From: boxingsquirrel Date: Sat, 30 Apr 2011 17:31:01 -0400 Subject: Working with iOS versions up to 4.3.2; plus all currently released devices --- src/tss.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/tss.c') diff --git a/src/tss.c b/src/tss.c index 0d4422c..eac3d32 100644 --- a/src/tss.c +++ b/src/tss.c @@ -171,8 +171,11 @@ plist_t tss_send_request(plist_t tss_request) { curl_easy_setopt(handle, CURLOPT_POSTFIELDS, request); curl_easy_setopt(handle, CURLOPT_USERAGENT, "InetURL/1.0"); curl_easy_setopt(handle, CURLOPT_POSTFIELDSIZE, strlen(request)); - curl_easy_setopt(handle, CURLOPT_URL, "http://cydia.saurik.com/TSS/controller?action=2"); - //curl_easy_setopt(handle, CURLOPT_URL, "http://gs.apple.com/TSS/controller?action=2"); + if (use_apple_server==0) { + curl_easy_setopt(handle, CURLOPT_URL, "http://cydia.saurik.com/TSS/controller?action=2"); + } else { + curl_easy_setopt(handle, CURLOPT_URL, "http://gs.apple.com/TSS/controller?action=2"); + } curl_easy_perform(handle); curl_slist_free_all(header); -- cgit v1.1-32-gdbae