From 98e75c3a4abc9bac7c7eaa06b1cc587b86c32703 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: Mon, 23 Sep 2019 20:22:48 +0800 Subject: Fix wrong variable to log --- ticket.c | 2 +- user.c | 2 +- 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 -- cgit v1.2.3