summaryrefslogtreecommitdiff
path: root/src/restclient
diff options
context:
space:
mode:
Diffstat (limited to 'src/restclient')
-rw-r--r--src/restclient/anastasis_api_config.c9
-rw-r--r--src/restclient/anastasis_api_policy_lookup.c4
-rw-r--r--src/restclient/anastasis_api_truth_store.c2
3 files changed, 7 insertions, 8 deletions
diff --git a/src/restclient/anastasis_api_config.c b/src/restclient/anastasis_api_config.c
index cf0846b..8a479f4 100644
--- a/src/restclient/anastasis_api_config.c
+++ b/src/restclient/anastasis_api_config.c
@@ -285,11 +285,10 @@ ANASTASIS_get_config (struct GNUNET_CURL_Context *ctx,
CURL *eh;
eh = ANASTASIS_curl_easy_get_ (co->url);
- co->job = GNUNET_CURL_job_add2 (ctx,
- eh,
- GNUNET_NO,
- &handle_config_finished,
- co);
+ co->job = GNUNET_CURL_job_add (ctx,
+ eh,
+ &handle_config_finished,
+ co);
}
if (NULL == co->job)
{
diff --git a/src/restclient/anastasis_api_policy_lookup.c b/src/restclient/anastasis_api_policy_lookup.c
index 1af95d7..e7c6e33 100644
--- a/src/restclient/anastasis_api_policy_lookup.c
+++ b/src/restclient/anastasis_api_policy_lookup.c
@@ -295,7 +295,7 @@ ANASTASIS_policy_lookup (
plo->cb_cls = cb_cls;
plo->job = GNUNET_CURL_job_add_raw (ctx,
eh,
- GNUNET_NO,
+ NULL,
&handle_policy_lookup_finished,
plo);
return plo;
@@ -349,7 +349,7 @@ ANASTASIS_policy_lookup_version (
plo->cb_cls = cb_cls;
plo->job = GNUNET_CURL_job_add_raw (ctx,
eh,
- GNUNET_NO,
+ NULL,
&handle_policy_lookup_finished,
plo);
return plo;
diff --git a/src/restclient/anastasis_api_truth_store.c b/src/restclient/anastasis_api_truth_store.c
index ebd7d10..ef6a642 100644
--- a/src/restclient/anastasis_api_truth_store.c
+++ b/src/restclient/anastasis_api_truth_store.c
@@ -347,7 +347,7 @@ ANASTASIS_truth_store (
tso));
tso->job = GNUNET_CURL_job_add_raw (ctx,
eh,
- GNUNET_NO,
+ NULL,
&handle_truth_store_finished,
tso);
return tso;