From 464488f3648466c25a729d56dc7a1eee3a8c597b 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: Sun, 8 Sep 2019 17:43:11 +0800 Subject: The fix to the single space prepending is to increment the pointer (to character) once --- rtclient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtclient.c b/rtclient.c index 46db370..a0c7c8f 100644 --- a/rtclient.c +++ b/rtclient.c @@ -99,9 +99,9 @@ user_callback(void *contents, size_t size, size_t nmemb, void *writedata) #ifdef DEBUG #ifdef ANDROID __android_log_print(ANDROID_LOG_DEBUG, "librtclient.so" - , "Value: %s", token); + , "Value: %s", ++token); #else - fprintf(stderr, "Value: %s\n", token); + fprintf(stderr, "Value: %s\n", ++token); #endif // ANDROID #endif // DEBUG } -- cgit v1.2.3