aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-11-11 15:49:53 +0100
committerChristian Grothoff <christian@grothoff.org>2018-11-11 15:49:53 +0100
commit6f0b652da6981fe31bff984b4ca485e206a66f35 (patch)
tree87b3be14f0da3ac527dedf3548727ec63e714416
parentdebe0d05ade761127ac98ee47bc23a6f47d77d37 (diff)
fix TXL_curl_easy_get signatures
-rw-r--r--src/auditor-lib/curl_defaults.c4
-rw-r--r--src/auditor-lib/curl_defaults.h2
-rw-r--r--src/auditor-lib/test_auditor_api.c8
-rw-r--r--src/exchange-lib/curl_defaults.c4
-rw-r--r--src/exchange-lib/curl_defaults.h2
5 files changed, 10 insertions, 10 deletions
diff --git a/src/auditor-lib/curl_defaults.c b/src/auditor-lib/curl_defaults.c
index 8117fc444..b71c27ef1 100644
--- a/src/auditor-lib/curl_defaults.c
+++ b/src/auditor-lib/curl_defaults.c
@@ -30,10 +30,10 @@
* @param url URL to query
*/
CURL *
-TEL_curl_easy_get (char *url)
+TAL_curl_easy_get (const char *url)
{
CURL *eh;
-
+
eh = curl_easy_init ();
GNUNET_assert (CURLE_OK ==
diff --git a/src/auditor-lib/curl_defaults.h b/src/auditor-lib/curl_defaults.h
index 815472c86..3be5816bf 100644
--- a/src/auditor-lib/curl_defaults.h
+++ b/src/auditor-lib/curl_defaults.h
@@ -36,6 +36,6 @@
* @param url URL to query
*/
CURL *
-TAL_curl_easy_get (char *url);
+TAL_curl_easy_get (const char *url);
#endif /* _TALER_CURL_DEFAULTS_H */
diff --git a/src/auditor-lib/test_auditor_api.c b/src/auditor-lib/test_auditor_api.c
index a66eb0a50..56f7cd01a 100644
--- a/src/auditor-lib/test_auditor_api.c
+++ b/src/auditor-lib/test_auditor_api.c
@@ -166,7 +166,7 @@ main (int argc,
= TALER_TESTING_prepare_fakebank (CONFIG_FILE,
"account-2")))
return 77;
- TALER_TESTING_AUDITOR_cleanup_files (CONFIG_FILE);
+ TALER_TESTING_cleanup_files (CONFIG_FILE);
/* @helpers. Run keyup, create tables, ... Note: it
* fetches the port number from config in order to see
* if it's available. */
@@ -185,9 +185,9 @@ main (int argc,
* start/stop the exchange. It calls TALER_TESTING_setup
* which creates the 'is' object.
*/
- TALER_TESTING_AUDITOR_setup_with_auditor (&run,
- NULL,
- CONFIG_FILE))
+ TALER_TESTING_setup_with_auditor_and_exchange (&run,
+ NULL,
+ CONFIG_FILE))
return 1;
break;
default:
diff --git a/src/exchange-lib/curl_defaults.c b/src/exchange-lib/curl_defaults.c
index ca4a221c8..99576308b 100644
--- a/src/exchange-lib/curl_defaults.c
+++ b/src/exchange-lib/curl_defaults.c
@@ -30,10 +30,10 @@
* @param url URL to query
*/
CURL *
-TEL_curl_easy_get (char *url)
+TEL_curl_easy_get (const char *url)
{
CURL *eh;
-
+
eh = curl_easy_init ();
GNUNET_assert (CURLE_OK ==
diff --git a/src/exchange-lib/curl_defaults.h b/src/exchange-lib/curl_defaults.h
index 4ca574230..07bab8fb2 100644
--- a/src/exchange-lib/curl_defaults.h
+++ b/src/exchange-lib/curl_defaults.h
@@ -36,6 +36,6 @@
* @param url URL to query
*/
CURL *
-TEL_curl_easy_get (char *url);
+TEL_curl_easy_get (const char *url);
#endif /* _TALER_CURL_DEFAULTS_H */