From 74fb1c2e413f5dcb004f5069085e491390ce2ab2 Mon Sep 17 00:00:00 2001 From: Boyeon Date: Wed, 15 May 2019 16:29:48 +0900 Subject: [PATCH] Change the text of the command for getting log archive and change the pointer type for log_path_arr --- src/devicemanagerservice.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devicemanagerservice.c b/src/devicemanagerservice.c index 60f00d8..393f6cf 100644 --- a/src/devicemanagerservice.c +++ b/src/devicemanagerservice.c @@ -135,7 +135,7 @@ static void __get_log_archive_result_cb(idm_command_h command, idm_result_e resu } } -static void __get_log_archive(const char *log_path_arr[], const char *archive_file, unsigned long id, idm_result_cb result_cb_func, void *data) +static void __get_log_archive(char *log_path_arr[], const char *archive_file, unsigned long id, idm_result_cb result_cb_func, void *data) { app_data *ad = data; idm_command_h command = NULL; @@ -156,7 +156,7 @@ static void __get_log_archive(const char *log_path_arr[], const char *archive_fi return; } - ret = idm_command_set_diagnosis_cmd(command, IDM_CMD_DIAGNOSIS_GET_LOG, request); + ret = idm_command_set_diagnosis_cmd(command, IDM_CMD_DIAGNOSIS_GET_LOG_ARCHIVE, request); g_free(request); request = NULL; -- 2.7.4