diff options
author | boxingsquirrel | 2011-04-30 17:31:01 -0400 |
---|---|---|
committer | boxingsquirrel | 2011-04-30 17:31:01 -0400 |
commit | 1c851c273dece4d1a6efa5a6e093557bd0e862c1 (patch) | |
tree | 36462c25af32a6bf2070a6a1fe510beed0a8efd2 /src/tss.c | |
parent | fde808212e85de310cb404ac2e577da17f8382c2 (diff) | |
download | idevicerestore-1c851c273dece4d1a6efa5a6e093557bd0e862c1.tar.gz idevicerestore-1c851c273dece4d1a6efa5a6e093557bd0e862c1.tar.bz2 |
Working with iOS versions up to 4.3.2; plus all currently released devices
Diffstat (limited to 'src/tss.c')
-rw-r--r-- | src/tss.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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); |