diff options
author | Erik Prabowo Kamal <erik@darapsa.co.id> | 2019-08-31 13:13:40 +0800 |
---|---|---|
committer | Erik Prabowo Kamal <erik@darapsa.co.id> | 2019-08-31 13:13:40 +0800 |
commit | b4ed4766047759c875aa42cc35b52ccecbfcc6ef (patch) | |
tree | eadcd81f0deaeafb49c77e08c2cd392282b8b380 | |
parent | 16b8e66c64ee8acd6ea2ce34372e52406a990d2a (diff) |
Fixed the android debug label library name
-rw-r--r-- | rtclient.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |