From f7ccf518373f8a567210477fd15e42ccb00aa983 Mon Sep 17 00:00:00 2001 From: Vitaliy Cherepanov Date: Mon, 13 Oct 2014 19:06:24 +0400 Subject: [PATCH] [FIX] MSG_GET_PROCESS_ADD_INFO_ACK error code wrong error code returns on success get process additional info Change-Id: Ic890c6cbf97bbfde384d39b73f802bbcdb1ddba0 Signed-off-by: Vitaliy Cherepanov --- daemon/da_protocol.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daemon/da_protocol.c b/daemon/da_protocol.c index 5d20d25..c67ee05 100644 --- a/daemon/da_protocol.c +++ b/daemon/da_protocol.c @@ -90,6 +90,7 @@ char *msg_ID_str(enum HostMessageT ID) check_and_return(NMSG_GET_TARGET_INFO_ACK); check_and_return(NMSG_SWAP_INST_ADD_ACK); check_and_return(NMSG_SWAP_INST_REMOVE_ACK); + check_and_return(NMSG_GET_PROCESS_ADD_INFO_ACK); check_and_return(NMSG_PROCESS_INFO); check_and_return(NMSG_TERMINATE); @@ -1112,6 +1113,7 @@ static int process_msg_get_process_add_info(struct msg_buf_t *msg) } /* success */ + err_code = ERR_NO; goto send_ack; send_fail: -- 2.7.4