summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-23 20:22:48 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-23 20:22:48 +0800
commit98e75c3a4abc9bac7c7eaa06b1cc587b86c32703 (patch)
tree2133e3404103006ba074f94df38a77760e893a69
parenteab0c675a0375411ccb94d509d1437af109d1ad4 (diff)
Fix wrong variable to log
-rw-r--r--ticket.c2
-rw-r--r--user.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ticket.c b/ticket.c
index 9c5f4f4..77da6b2 100644
--- a/ticket.c
+++ b/ticket.c
@@ -81,7 +81,7 @@ static size_t search_callback(void *contents, size_t size, size_t nmemb
#ifdef DEBUG
#ifdef ANDROID
__android_log_print(ANDROID_LOG_INFO, "librtclient"
- , "%s response status:\n%s", __func__, error);
+ , "%s response status:\n%s", __func__, line);
#else
printf("%s response status:\n%s\n", __func__, line);
#endif // ANDROID
diff --git a/user.c b/user.c
index 1792ac7..adba576 100644
--- a/user.c
+++ b/user.c
@@ -170,7 +170,7 @@ static size_t show_callback(void *contents, size_t size, size_t nmemb
#ifdef DEBUG
#ifdef ANDROID
__android_log_print(ANDROID_LOG_INFO, "librtclient"
- , "%s response status:\n%s", __func__, error);
+ , "%s response status:\n%s", __func__, line);
#else
printf("%s response status:\n%s\n", __func__, line);
#endif // ANDROID