summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-08 17:43:11 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-08 17:43:11 +0800
commit464488f3648466c25a729d56dc7a1eee3a8c597b (patch)
treefe6c6006d77f0620fd9e4ee184eb8ca7f96f8aee
parentefebfe44e1a1995b4562a7b0ac779aee71db9f77 (diff)
The fix to the single space prepending
is to increment the pointer (to character) once
-rw-r--r--rtclient.c4
1 files 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
}