summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2018-02-09 04:11:54 (GMT)
committerMinje Ahn <minje.ahn@samsung.com>2018-02-09 04:11:54 (GMT)
commit3f3a1003bf42841945cfd0a0607b8e991b8ef87f (patch)
tree77ccfa8ceffb668d3c0e036a640aa4b62b85405f /server
parentb3ceefb00b997a50a3da4288b6af3a56f89385c3 (diff)
downloadlibmedia-thumbnail-3f3a1003bf42841945cfd0a0607b8e991b8ef87f.zip
libmedia-thumbnail-3f3a1003bf42841945cfd0a0607b8e991b8ef87f.tar.gz
libmedia-thumbnail-3f3a1003bf42841945cfd0a0607b8e991b8ef87f.tar.bz2
Change-Id: Ia42ba6850a64b360e36b16c42df2d125772685c4 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'server')
-rwxr-xr-xserver/thumb-server-internal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/thumb-server-internal.c b/server/thumb-server-internal.c
index 9116c05..4217b2e 100755
--- a/server/thumb-server-internal.c
+++ b/server/thumb-server-internal.c
@@ -117,7 +117,7 @@ gboolean _thumb_server_read_socket(GIOChannel *src, GIOCondition condition, gpoi
SAFE_FREE(credentials.smack);
SAFE_FREE(credentials.uid);
- thumb_warn_slog("Received [%d] %s(%d) from PID(%d)", recv_msg.msg_type, recv_msg.org_path, strlen(recv_msg.org_path), recv_msg.pid);
+ thumb_warn_slog("Received [%d] %.*s(%d) from PID(%d)", recv_msg.msg_type, MAX_FILEPATH_LEN, recv_msg.org_path, strlen(recv_msg.org_path), recv_msg.pid);
if (recv_msg.msg_type != THUMB_REQUEST_KILL_SERVER)
_thumb_daemon_process_job(&recv_msg, &res_msg);