summaryrefslogtreecommitdiffstats
path: root/src/tss.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-03-21 21:04:28 +0100
committerGravatar Nikias Bassen2014-03-21 21:04:28 +0100
commit1e812367fb4f7579870e336767f3c59b0fd502c8 (patch)
tree533d817f80351bb0e5ba378a9e474439dc1c8ecd /src/tss.c
parent454541a3c9c7e6799713639213ecf0c93d2ef224 (diff)
downloadidevicerestore-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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tss.c b/src/tss.c
index 61da665..8de6fb3 100644
--- a/src/tss.c
+++ b/src/tss.c
@@ -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;
}