summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintae, jeon <intae.jeon@samsung.com>2017-01-13 10:00:51 +0900
committerintae, jeon <intae.jeon@samsung.com>2017-01-13 10:00:51 +0900
commit3104bbbed8c59686b6ef11737dca0fd5235e8de5 (patch)
tree0809aa0f4d522fb550d4372f667b85c091585c21
parent3852653d36e0f5cc8c99ae0880376174540b5a60 (diff)
parente64dbcf781fcd01a9938b29b83bf41b5a205da49 (diff)
downloademail-service-3104bbbed8c59686b6ef11737dca0fd5235e8de5.tar.gz
email-service-3104bbbed8c59686b6ef11737dca0fd5235e8de5.tar.bz2
email-service-3104bbbed8c59686b6ef11737dca0fd5235e8de5.zip
Change-Id: I36ceee3599c02042fe9ccc68e2de5ff6facb6364 Signed-off-by: intae, jeon <intae.jeon@samsung.com>
-rwxr-xr-xemail-ipc/email-socket/email-ipc-socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/email-ipc/email-socket/email-ipc-socket.c b/email-ipc/email-socket/email-ipc-socket.c
index f7f7429..9916f3b 100755
--- a/email-ipc/email-socket/email-ipc-socket.c
+++ b/email-ipc/email-socket/email-ipc-socket.c
@@ -219,7 +219,7 @@ EXPORT_API int emipc_open_email_socket(int fd, const char *path)
SNPRINTF(uid_string, sizeof(uid_string), "%d", getuid());
ipc_socket_path = g_strconcat(EM_SOCKET_USER_PATH, "/", uid_string, "/", EM_SOCKET_PATH_NAME, NULL);
- if (!ipc_socket_path) {
+ if (NULL == ipc_socket_path) {
EM_DEBUG_EXCEPTION("ipc_socket_path is null");
return EMAIL_ERROR_SYSTEM_FAILURE;
}
@@ -302,7 +302,7 @@ EXPORT_API int emipc_connect_email_socket(int fd)
memset(&server, 0, sizeof(server));
server.sun_family = AF_UNIX;
- if (!ipc_socket_path) {
+ if (NULL == ipc_socket_path) {
EM_DEBUG_EXCEPTION("ipc_socket_path is null");
return EMAIL_ERROR_SYSTEM_FAILURE;
}