fix TXL_curl_easy_get signatures
This commit is contained in:
parent
debe0d05ad
commit
6f0b652da6
@ -30,10 +30,10 @@
|
|||||||
* @param url URL to query
|
* @param url URL to query
|
||||||
*/
|
*/
|
||||||
CURL *
|
CURL *
|
||||||
TEL_curl_easy_get (char *url)
|
TAL_curl_easy_get (const char *url)
|
||||||
{
|
{
|
||||||
CURL *eh;
|
CURL *eh;
|
||||||
|
|
||||||
eh = curl_easy_init ();
|
eh = curl_easy_init ();
|
||||||
|
|
||||||
GNUNET_assert (CURLE_OK ==
|
GNUNET_assert (CURLE_OK ==
|
||||||
|
@ -36,6 +36,6 @@
|
|||||||
* @param url URL to query
|
* @param url URL to query
|
||||||
*/
|
*/
|
||||||
CURL *
|
CURL *
|
||||||
TAL_curl_easy_get (char *url);
|
TAL_curl_easy_get (const char *url);
|
||||||
|
|
||||||
#endif /* _TALER_CURL_DEFAULTS_H */
|
#endif /* _TALER_CURL_DEFAULTS_H */
|
||||||
|
@ -166,7 +166,7 @@ main (int argc,
|
|||||||
= TALER_TESTING_prepare_fakebank (CONFIG_FILE,
|
= TALER_TESTING_prepare_fakebank (CONFIG_FILE,
|
||||||
"account-2")))
|
"account-2")))
|
||||||
return 77;
|
return 77;
|
||||||
TALER_TESTING_AUDITOR_cleanup_files (CONFIG_FILE);
|
TALER_TESTING_cleanup_files (CONFIG_FILE);
|
||||||
/* @helpers. Run keyup, create tables, ... Note: it
|
/* @helpers. Run keyup, create tables, ... Note: it
|
||||||
* fetches the port number from config in order to see
|
* fetches the port number from config in order to see
|
||||||
* if it's available. */
|
* if it's available. */
|
||||||
@ -185,9 +185,9 @@ main (int argc,
|
|||||||
* start/stop the exchange. It calls TALER_TESTING_setup
|
* start/stop the exchange. It calls TALER_TESTING_setup
|
||||||
* which creates the 'is' object.
|
* which creates the 'is' object.
|
||||||
*/
|
*/
|
||||||
TALER_TESTING_AUDITOR_setup_with_auditor (&run,
|
TALER_TESTING_setup_with_auditor_and_exchange (&run,
|
||||||
NULL,
|
NULL,
|
||||||
CONFIG_FILE))
|
CONFIG_FILE))
|
||||||
return 1;
|
return 1;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
@ -30,10 +30,10 @@
|
|||||||
* @param url URL to query
|
* @param url URL to query
|
||||||
*/
|
*/
|
||||||
CURL *
|
CURL *
|
||||||
TEL_curl_easy_get (char *url)
|
TEL_curl_easy_get (const char *url)
|
||||||
{
|
{
|
||||||
CURL *eh;
|
CURL *eh;
|
||||||
|
|
||||||
eh = curl_easy_init ();
|
eh = curl_easy_init ();
|
||||||
|
|
||||||
GNUNET_assert (CURLE_OK ==
|
GNUNET_assert (CURLE_OK ==
|
||||||
|
@ -36,6 +36,6 @@
|
|||||||
* @param url URL to query
|
* @param url URL to query
|
||||||
*/
|
*/
|
||||||
CURL *
|
CURL *
|
||||||
TEL_curl_easy_get (char *url);
|
TEL_curl_easy_get (const char *url);
|
||||||
|
|
||||||
#endif /* _TALER_CURL_DEFAULTS_H */
|
#endif /* _TALER_CURL_DEFAULTS_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user