From 8958f3e75cd050da90860e80ddf114d31f6c3fbb Mon Sep 17 00:00:00 2001 From: Inkyun Kil Date: Mon, 28 Aug 2017 17:16:51 +0900 Subject: [PATCH] Fix wrong return value for __initialize() Change-Id: I69086556670eaa49675631a36e82e57298f0a9af Signed-off-by: Inkyun Kil --- src/message_port_local.c | 2 +- src/message_port_remote.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/message_port_local.c b/src/message_port_local.c index 39ad094..dce4571 100755 --- a/src/message_port_local.c +++ b/src/message_port_local.c @@ -226,7 +226,7 @@ static bool __initialize(void) { if (!initialized_common) { if (!initialize_common()) - return MESSAGE_PORT_ERROR_IO_ERROR; + return false; } if (__remote_app_info == NULL) { diff --git a/src/message_port_remote.c b/src/message_port_remote.c index 6f22f40..c1e3334 100755 --- a/src/message_port_remote.c +++ b/src/message_port_remote.c @@ -136,7 +136,7 @@ static bool __initialize(void) { if (!initialized_common) { if (!initialize_common()) - return MESSAGE_PORT_ERROR_IO_ERROR; + return false; } if (__local_port_info == NULL) { -- 2.7.4