diff options
-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(); |