Fix mismatch between log format and actual parameter 17/194817/1
authorsungwook79.park <sungwook79.park@samsung.com>
Fri, 7 Dec 2018 07:58:25 +0000 (16:58 +0900)
committersungwook79.park <sungwook79.park@samsung.com>
Fri, 7 Dec 2018 07:58:25 +0000 (16:58 +0900)
Change-Id: I5c14ba1877fd419b86613f52989e5bc94a881c97
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
src/smartreply_service.cpp

index 859377848534b90050d0f634cd71727afce7a55b..0f1097f3e9b32628c82de37d95246a0d37285893 100755 (executable)
@@ -263,7 +263,7 @@ EXPORT_API int smartreply_service_destory_list(smartreply_reply_h *reply_list) {
 EXPORT_API int smartreply_service_is_language_supported(const char* language, bool *is_enable) {
     int req_id;
     *is_enable = smr::request_handler::is_supported(language, &req_id);
-    _I("smartreply_service_is_supported %s : %d", language, is_enable);
+    _I("smartreply_service_is_supported %s : %d", language, is_enable ? *is_enable : 0);
     return SMARTREPLY_ERROR_NONE;
 }