summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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