diff options
author | Nikias Bassen | 2014-03-21 21:04:28 +0100 |
---|---|---|
committer | Nikias Bassen | 2014-03-21 21:04:28 +0100 |
commit | 1e812367fb4f7579870e336767f3c59b0fd502c8 (patch) | |
tree | 533d817f80351bb0e5ba378a9e474439dc1c8ecd /src/tss.c | |
parent | 454541a3c9c7e6799713639213ecf0c93d2ef224 (diff) | |
download | idevicerestore-1e812367fb4f7579870e336767f3c59b0fd502c8.tar.gz idevicerestore-1e812367fb4f7579870e336767f3c59b0fd502c8.tar.bz2 |
move curl_global_init/_cleanup to a global context
Diffstat (limited to 'src/tss.c')
-rw-r--r-- | src/tss.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -620,7 +620,6 @@ static size_t tss_write_callback(char* data, size_t size, size_t nmemb, tss_resp } plist_t tss_request_send(plist_t tss_request, const char* server_url_string) { - curl_global_init(CURL_GLOBAL_ALL); if (idevicerestore_debug) { debug_plist(tss_request); @@ -764,7 +763,6 @@ plist_t tss_request_send(plist_t tss_request, const char* server_url_string) { } free(request); - curl_global_cleanup(); return tss_response; } |