Clean-up log
authorJihoon Chung <jihoon.chung@samsung.com>
Fri, 31 May 2013 10:22:34 +0000 (19:22 +0900)
committerJihoon Chung <jihoon.chung@samsung.com>
Fri, 31 May 2013 10:25:48 +0000 (19:25 +0900)
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Clean-up log when data is null case
[SCMRequest] N/A

Change-Id: Iab487a6f6c9f72b9fa3eeb6f768ab0a8f1b4e5df

src/plugins-ipc-message/ipc_message_support.cpp

index 5f9892d..b9c7de6 100644 (file)
@@ -60,7 +60,9 @@ const char* IPCMessageSupport::sendMessageToUiProcess(
         return NULL;
     }
     LogDebug("name = [" << name << "]");
-    LogDebug("body = [" << body << "]");
+    if (body) {
+        LogDebug("body = [" << body << "]");
+    }
 
     if (!name) {
         return NULL;