summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-16 20:36:51 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-16 20:36:51 +0200
commit4fde76049ea383f73ff84f1331dba20180ad80e3 (patch)
treeddaa6099ac15528a6007fc3a9bbcbb68c17ec5ea
parentb9f1384b528b9257cef3c220a747be1c9df2f028 (diff)
downloadexchange-4fde76049ea383f73ff84f1331dba20180ad80e3.tar.gz
exchange-4fde76049ea383f73ff84f1331dba20180ad80e3.tar.bz2
exchange-4fde76049ea383f73ff84f1331dba20180ad80e3.zip
boolean argument removed in GNUNET_CURL_job_add (#6188)
-rw-r--r--src/lib/auditor_api_exchanges.c1
-rw-r--r--src/lib/auditor_api_handle.c1
-rw-r--r--src/lib/exchange_api_deposits_get.c1
-rw-r--r--src/lib/exchange_api_handle.c9
-rw-r--r--src/lib/exchange_api_link.c9
-rw-r--r--src/lib/exchange_api_reserves_get.c1
-rw-r--r--src/lib/exchange_api_transfers_get.c9
-rw-r--r--src/lib/exchange_api_wire.c9
8 files changed, 16 insertions, 24 deletions
diff --git a/src/lib/auditor_api_exchanges.c b/src/lib/auditor_api_exchanges.c
index 83cbc4bb..a2e84f19 100644
--- a/src/lib/auditor_api_exchanges.c
+++ b/src/lib/auditor_api_exchanges.c
@@ -236,7 +236,6 @@ TALER_AUDITOR_list_exchanges (struct TALER_AUDITOR_Handle *auditor,
ctx = TALER_AUDITOR_handle_to_context_ (auditor);
leh->job = GNUNET_CURL_job_add (ctx,
eh,
- GNUNET_NO,
&handle_exchanges_finished,
leh);
return leh;
diff --git a/src/lib/auditor_api_handle.c b/src/lib/auditor_api_handle.c
index 731dcf0c..fda7d445 100644
--- a/src/lib/auditor_api_handle.c
+++ b/src/lib/auditor_api_handle.c
@@ -500,7 +500,6 @@ request_version (void *cls)
(long) 300));
vr->job = GNUNET_CURL_job_add (auditor->ctx,
eh,
- GNUNET_NO,
&version_completed_cb,
vr);
auditor->vr = vr;
diff --git a/src/lib/exchange_api_deposits_get.c b/src/lib/exchange_api_deposits_get.c
index b070bb50..8cb9c3ff 100644
--- a/src/lib/exchange_api_deposits_get.c
+++ b/src/lib/exchange_api_deposits_get.c
@@ -390,7 +390,6 @@ TALER_EXCHANGE_deposits_get (
ctx = TEAH_handle_to_context (exchange);
dwh->job = GNUNET_CURL_job_add (ctx,
eh,
- GNUNET_NO,
&handle_deposit_wtid_finished,
dwh);
return dwh;
diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c
index f2d20255..b12e88a2 100644
--- a/src/lib/exchange_api_handle.c
+++ b/src/lib/exchange_api_handle.c
@@ -2016,11 +2016,10 @@ request_keys (void *cls)
curl_easy_setopt (eh,
CURLOPT_HEADERDATA,
kr));
- kr->job = GNUNET_CURL_job_add (exchange->ctx,
- eh,
- GNUNET_YES,
- &keys_completed_cb,
- kr);
+ kr->job = GNUNET_CURL_job_add_with_ct_json (exchange->ctx,
+ eh,
+ &keys_completed_cb,
+ kr);
exchange->kr = kr;
}
diff --git a/src/lib/exchange_api_link.c b/src/lib/exchange_api_link.c
index ad0ad85d..e6f54604 100644
--- a/src/lib/exchange_api_link.c
+++ b/src/lib/exchange_api_link.c
@@ -484,11 +484,10 @@ TALER_EXCHANGE_link (struct TALER_EXCHANGE_Handle *exchange,
return NULL;
}
ctx = TEAH_handle_to_context (exchange);
- lh->job = GNUNET_CURL_job_add (ctx,
- eh,
- GNUNET_YES,
- &handle_link_finished,
- lh);
+ lh->job = GNUNET_CURL_job_add_with_ct_json (ctx,
+ eh,
+ &handle_link_finished,
+ lh);
return lh;
}
diff --git a/src/lib/exchange_api_reserves_get.c b/src/lib/exchange_api_reserves_get.c
index 0624f0d0..236cc0c7 100644
--- a/src/lib/exchange_api_reserves_get.c
+++ b/src/lib/exchange_api_reserves_get.c
@@ -301,7 +301,6 @@ TALER_EXCHANGE_reserves_get (struct TALER_EXCHANGE_Handle *exchange,
ctx = TEAH_handle_to_context (exchange);
rgh->job = GNUNET_CURL_job_add (ctx,
eh,
- GNUNET_NO,
&handle_reserves_get_finished,
rgh);
return rgh;
diff --git a/src/lib/exchange_api_transfers_get.c b/src/lib/exchange_api_transfers_get.c
index 2de025d5..c9b0640a 100644
--- a/src/lib/exchange_api_transfers_get.c
+++ b/src/lib/exchange_api_transfers_get.c
@@ -390,11 +390,10 @@ TALER_EXCHANGE_transfers_get (
return NULL;
}
ctx = TEAH_handle_to_context (exchange);
- wdh->job = GNUNET_CURL_job_add (ctx,
- eh,
- GNUNET_YES,
- &handle_transfers_get_finished,
- wdh);
+ wdh->job = GNUNET_CURL_job_add_with_ct_json (ctx,
+ eh,
+ &handle_transfers_get_finished,
+ wdh);
return wdh;
}
diff --git a/src/lib/exchange_api_wire.c b/src/lib/exchange_api_wire.c
index 3ce35999..fec2b990 100644
--- a/src/lib/exchange_api_wire.c
+++ b/src/lib/exchange_api_wire.c
@@ -425,11 +425,10 @@ TALER_EXCHANGE_wire (struct TALER_EXCHANGE_Handle *exchange,
return NULL;
}
ctx = TEAH_handle_to_context (exchange);
- wh->job = GNUNET_CURL_job_add (ctx,
- eh,
- GNUNET_YES,
- &handle_wire_finished,
- wh);
+ wh->job = GNUNET_CURL_job_add_with_ct_json (ctx,
+ eh,
+ &handle_wire_finished,
+ wh);
return wh;
}