From b4ed4766047759c875aa42cc35b52ccecbfcc6ef Mon Sep 17 00:00:00 2001 From: Erik Prabowo Kamal Date: Sat, 31 Aug 2019 13:13:40 +0800 Subject: Fixed the android debug label library name --- rtclient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtclient.c b/rtclient.c index c489398..0022103 100644 --- a/rtclient.c +++ b/rtclient.c @@ -29,7 +29,7 @@ static size_t handle_login(const char *response, size_t size, size_t nmemb, void { #ifdef DEBUG #ifdef ANDROID - __android_log_print(ANDROID_LOG_DEBUG, "libkelakon.so", "Login response:\n%s", response); + __android_log_print(ANDROID_LOG_DEBUG, "librtclient.so", "Login response:\n%s", response); #else fprintf(stderr, "Login response:\n%s\n", response); #endif // ANDROID @@ -61,7 +61,7 @@ void rtclient_login(const char *name, const char *password) if (res != CURLE_OK) { const char *error = curl_easy_strerror(res); #ifdef ANDROID - __android_log_print(ANDROID_LOG_ERROR, "libkelakon.so", "cURL perform error: %s", error); + __android_log_print(ANDROID_LOG_ERROR, "librtclient.so", "cURL perform error: %s", error); #else fprintf(stderr, "cURL perform error: %s\n", error); #endif // ANDROID -- cgit v1.2.3