From f7ba1ecac822d0fad68ef768016d96cf30b5e77e 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: Sat, 7 Sep 2019 19:32:52 +0800 Subject: Removed the logging --- rtclient.c | 19 +------------------ 1 file changed, 1 insertion(+), 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; } -- cgit v1.2.3