summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-16 20:48:22 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-16 20:48:22 +0800
commit1bb0d789032201d688374e723f06239a716f3ac3 (patch)
tree4393db5d751d336c26d9406207c6a47e8b9fbfed
parent6bba1f355362826f7eaa49e47b3486e8d1073250 (diff)
Tidy up a bit
-rw-r--r--client.c2
-rw-r--r--rtclient/client.h2
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();