diff options
author | intae, jeon <intae.jeon@samsung.com> | 2017-01-13 10:00:51 +0900 |
---|---|---|
committer | intae, jeon <intae.jeon@samsung.com> | 2017-01-13 10:00:51 +0900 |
commit | 3104bbbed8c59686b6ef11737dca0fd5235e8de5 (patch) | |
tree | 0809aa0f4d522fb550d4372f667b85c091585c21 | |
parent | 3852653d36e0f5cc8c99ae0880376174540b5a60 (diff) | |
parent | e64dbcf781fcd01a9938b29b83bf41b5a205da49 (diff) | |
download | email-service-3104bbbed8c59686b6ef11737dca0fd5235e8de5.tar.gz email-service-3104bbbed8c59686b6ef11737dca0fd5235e8de5.tar.bz2 email-service-3104bbbed8c59686b6ef11737dca0fd5235e8de5.zip |
merge for sync with tizen_3.0 branchsubmit/tizen_unified/20170308.100408submit/tizen/20170113.034613accepted/tizen/wearable/20170113.224337accepted/tizen/unified/20170309.033255accepted/tizen/mobile/20170113.224324accepted/tizen/ivi/20170113.224359accepted/tizen/common/20170113.183815
Change-Id: I36ceee3599c02042fe9ccc68e2de5ff6facb6364
Signed-off-by: intae, jeon <intae.jeon@samsung.com>
-rwxr-xr-x | email-ipc/email-socket/email-ipc-socket.c | 4 |
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; } |