summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-07-17 21:40:39 +0200
committerGravatar Nikias Bassen2012-07-17 21:40:39 +0200
commite93661cabe76c9a14021decb95c0766936f5d571 (patch)
tree75bae8010e7aa520870f2f687c6031d80edb2e60 /src
parentb50537c22117206b6a2141fc605ab57ea99b322c (diff)
downloadidevicerestore-e93661cabe76c9a14021decb95c0766936f5d571.tar.gz
idevicerestore-e93661cabe76c9a14021decb95c0766936f5d571.tar.bz2
tss: silence compiler warning
Diffstat (limited to 'src')
-rw-r--r--src/tss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tss.c b/src/tss.c
index 2c51e30..f1b65a4 100644
--- a/src/tss.c
+++ b/src/tss.c
@@ -359,7 +359,7 @@ plist_t tss_send_request(plist_t tss_request) {
response->content[0] = '\0';
curl_easy_setopt(handle, CURLOPT_SSL_VERIFYPEER, 0);
- curl_easy_setopt(handle, CURLOPT_ERRORBUFFER, &curl_error_message);
+ curl_easy_setopt(handle, CURLOPT_ERRORBUFFER, curl_error_message);
curl_easy_setopt(handle, CURLOPT_WRITEFUNCTION, (curl_write_callback)&tss_write_callback);
curl_easy_setopt(handle, CURLOPT_WRITEDATA, response);
curl_easy_setopt(handle, CURLOPT_HTTPHEADER, header);