summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInkyun Kil <inkyun.kil@samsung.com>2017-08-28 17:16:51 +0900
committerInkyun Kil <inkyun.kil@samsung.com>2017-08-28 17:16:51 +0900
commit8958f3e75cd050da90860e80ddf114d31f6c3fbb (patch)
treef7207bd608970e2953427e513630da58f9a8df3b
parent1b4f8f3fecf7792f25088b302b886bc3f44a3f7f (diff)
downloadmessage-port-8958f3e75cd050da90860e80ddf114d31f6c3fbb.tar.gz
message-port-8958f3e75cd050da90860e80ddf114d31f6c3fbb.tar.bz2
message-port-8958f3e75cd050da90860e80ddf114d31f6c3fbb.zip
Fix wrong return value for __initialize()
Change-Id: I69086556670eaa49675631a36e82e57298f0a9af Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
-rwxr-xr-xsrc/message_port_local.c2
-rwxr-xr-xsrc/message_port_remote.c2
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) {