[FIX] process_msg_start wrong ret value
authorVitaliy Cherepanov <v.cherepanov@samsung.com>
Fri, 18 Oct 2013 12:14:28 +0000 (16:14 +0400)
committerVitaliy Cherepanov <v.cherepanov@samsung.com>
Fri, 18 Oct 2013 12:14:28 +0000 (16:14 +0400)
Change-Id: Ib5d1ae735496fcc120e4c3c94967a96599f5f631

daemon/da_protocol.c

index dc783d0..efceee6 100644 (file)
@@ -977,7 +977,7 @@ send_ack:
        sendACKToHost(NMSG_START, err_code, (void *)&serialized_time,
                      sizeof(serialized_time));
 
-       return -(err_code == ERR_NO);
+       return -(err_code != ERR_NO);
 }
 
 int host_message_handler(struct msg_t *msg)