diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-06-13 17:51:53 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-06-13 17:52:52 +0200 |
commit | fad71ffebef5ccafd02cb13cf93b6f960fff2b0d (patch) | |
tree | d29e70b49b3321e18d57319774f3317bcedb8e78 /src/lib/merchant_api_track_transfer.c | |
parent | ae678a8b97c13c751580c4acf2639181bdb2dcf1 (diff) |
Reverting last change.
Custom HTTP headers will be added via a dedicate
function offered by the usual GNUnet-cURL stack.
Diffstat (limited to 'src/lib/merchant_api_track_transfer.c')
-rw-r--r-- | src/lib/merchant_api_track_transfer.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lib/merchant_api_track_transfer.c b/src/lib/merchant_api_track_transfer.c index 36fe8e60..7c78532f 100644 --- a/src/lib/merchant_api_track_transfer.c +++ b/src/lib/merchant_api_track_transfer.c @@ -234,7 +234,6 @@ TALER_MERCHANT_track_transfer (struct GNUNET_CURL_Context *ctx, { struct TALER_MERCHANT_TrackTransferHandle *tdo; CURL *eh; - struct curl_slist *list = NULL; char *wtid_str; wtid_str = GNUNET_STRINGS_data_to_string_alloc (wtid, @@ -255,12 +254,6 @@ TALER_MERCHANT_track_transfer (struct GNUNET_CURL_Context *ctx, curl_easy_setopt (eh, CURLOPT_URL, tdo->url)); - list = curl_slist_append (list, - "Authorization: ApiKey sandbox"); - GNUNET_assert (CURLE_OK == - curl_easy_setopt (eh, - CURLOPT_HTTPHEADER, - list)); tdo->job = GNUNET_CURL_job_add (ctx, eh, GNUNET_YES, |