diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-16 20:48:22 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-16 20:48:22 +0800 |
commit | 1bb0d789032201d688374e723f06239a716f3ac3 (patch) | |
tree | 4393db5d751d336c26d9406207c6a47e8b9fbfed | |
parent | 6bba1f355362826f7eaa49e47b3486e8d1073250 (diff) |
Tidy up a bit
-rw-r--r-- | client.c | 2 | ||||
-rw-r--r-- | rtclient/client.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ bool rtclient_init(const char *url) curl_easy_setopt(curl, CURLOPT_REFERER, url); #ifdef DEBUG curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); -#endif // DEBUG +#endif server_url = malloc(strlen(url) + 1); strcpy(server_url, url); } diff --git a/rtclient/client.h b/rtclient/client.h index dcc8c7e..5ffcce3 100644 --- a/rtclient/client.h +++ b/rtclient/client.h @@ -8,7 +8,7 @@ extern "C" { #endif - bool rtclient_init(const char *server_url); + bool rtclient_init(const char *url); void rtclient_login(const char *name, const char *password); void rtclient_cleanup(); |