Remove uninitialised bytes
[platform/framework/native/appfw.git] / src / server / io / FIo_IpcServer.cpp
index 220725e..91f9808 100644 (file)
@@ -279,7 +279,7 @@ CATCH:
 struct HelloMessage
 {
        int pid;
-       bool reverse;  // true if the connection is for reverse message
+       int reverse;  // if the connection is for reverse message
 };
 
 gboolean
@@ -341,7 +341,7 @@ _IpcServer::OnConnectionRequest(GIOChannel* source, GIOCondition condition, gpoi
                pIpcServer->__pCurrentClientInfo = null;
        }
 
-       if (helloMessage.reverse)
+       if (helloMessage.reverse != 0)
        {
                pClientInfo->pReverseChannel = pChannel;
        }