summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-07 19:32:52 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-07 19:32:52 +0800
commitf7ba1ecac822d0fad68ef768016d96cf30b5e77e (patch)
tree814a754e5b703d3647945523a3f35c48a83b837d
parent33f8e8c79a619c2153210e297e17c6d0bca4d0d2 (diff)
Removed the logging
-rw-r--r--rtclient.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/rtclient.c b/rtclient.c
index 154bc04..a66cd56 100644
--- a/rtclient.c
+++ b/rtclient.c
@@ -73,25 +73,8 @@ user_callback(void *contents, size_t size, size_t nmemb, void *writedata)
response[realsize] = '\0';
char *token = strtok(response, "\n");
if (strstr(token, "200 Ok"))
- while (token) {
+ while (token)
token = strtok(NULL, "\n");
-#ifdef DEBUG
-#ifdef ANDROID
- __android_log_print(ANDROID_LOG_ERROR, "librtclient.so", "Token:\n%s", token);
-#else
- fprintf(stderr, "Token:\n%s\n", token);
-#endif // ANDROID
-#endif // DEBUG
- }
-#ifdef DEBUG
- else {
-#ifdef ANDROID
- __android_log_print(ANDROID_LOG_ERROR, "librtclient.so", "Not okay");
-#else
- fprintf(stderr, "Not okay\n");
-#endif // ANDROID
- }
-#endif
return realsize;
}