Fix wrong return value for __initialize() 83/146383/1
authorInkyun Kil <inkyun.kil@samsung.com>
Mon, 28 Aug 2017 08:16:51 +0000 (17:16 +0900)
committerInkyun Kil <inkyun.kil@samsung.com>
Mon, 28 Aug 2017 08:16:51 +0000 (17:16 +0900)
Change-Id: I69086556670eaa49675631a36e82e57298f0a9af
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
src/message_port_local.c
src/message_port_remote.c

index 39ad094..dce4571 100755 (executable)
@@ -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) {
index 6f22f40..c1e3334 100755 (executable)
@@ -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) {