From 1bb0d789032201d688374e723f06239a716f3ac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Mon, 16 Sep 2019 20:48:22 +0800 Subject: Tidy up a bit --- client.c | 2 +- rtclient/client.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client.c b/client.c index 89f6413..8e9fed4 100644 --- a/client.c +++ b/client.c @@ -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(); -- cgit v1.2.3