From 7e4bd47be395bde4205d614a08dd2ee81cdc2156 Mon Sep 17 00:00:00 2001 From: Vitaliy Cherepanov Date: Tue, 22 Sep 2015 16:31:37 +0300 Subject: [PATCH] [FIX] MSG_GET_REAL_PATH ack Change-Id: I919bacfaf7d6193f2fe11cf077fd10c9bbdb8ffe Signed-off-by: Vitaliy Cherepanov --- daemon/da_protocol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/da_protocol.c b/daemon/da_protocol.c index db570a1..ce78abc 100644 --- a/daemon/da_protocol.c +++ b/daemon/da_protocol.c @@ -1250,7 +1250,7 @@ int process_msg_get_real_path(struct msg_buf_t *msg) /* resolve file path */ resolved_path = realpath(file_path, NULL); - LOGE("NMSG_GET_REAL_PATH resolved path <%s>\n", resolved_path); + LOGI("NMSG_GET_REAL_PATH resolved path <%s>\n", resolved_path); if (resolved_path == NULL) { LOGE("NMSG_GET_REAL_PATH error: cannot resolve path <%s>\n", file_path); @@ -1275,7 +1275,7 @@ send_fail: resolved_path = ""; send_ack: /* success */ - sendACKToHost(NMSG_GET_PROCESS_ADD_INFO, err_code, resolved_path, response_len); + sendACKToHost(NMSG_GET_REAL_PATH, err_code, resolved_path, response_len); return -(err_code != ERR_NO); } -- 2.7.4