aboutsummaryrefslogtreecommitdiff
path: root/src/lib
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 /src/lib
parentb9f1384b528b9257cef3c220a747be1c9df2f028 (diff)
boolean argument removed in GNUNET_CURL_job_add (#6188)
Diffstat (limited to 'src/lib')
-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 83cbc4bb4..a2e84f19f 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 731dcf0c3..fda7d4451 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 b070bb506..8cb9c3fff 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 f2d202559..b12e88a25 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 ad0ad85dc..e6f546041 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 0624f0d00..236cc0c73 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 2de025d53..c9b0640a7 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 3ce359998..fec2b990e 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;
}