From 2daaf1531092836c12b32c1c05261f598575fbb3 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 30 Jul 2021 13:42:07 +0200 Subject: -fix minor enum confusions --- src/restclient/anastasis_api_config.c | 9 ++++----- src/restclient/anastasis_api_policy_lookup.c | 4 ++-- src/restclient/anastasis_api_truth_store.c | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) (limited to 'src/restclient') 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; -- cgit v1.2.3