summaryrefslogtreecommitdiff
path: root/server/thumb-server-internal.c
diff options
context:
space:
mode:
authorHaejeong Kim <backto.kim@samsung.com>2017-06-21 03:30:16 (GMT)
committerHaejeong Kim <backto.kim@samsung.com>2017-06-21 03:30:16 (GMT)
commit8ecadd7637f7da73ae44b691a1727208fecc145b (patch)
tree7a536c2d83322f317d282c15f4bb2cd51fb1ebf3 /server/thumb-server-internal.c
parent1302749f9709ea9e9cd9cd65380a409a472069cb (diff)
downloadlibmedia-thumbnail-8ecadd7637f7da73ae44b691a1727208fecc145b.zip
libmedia-thumbnail-8ecadd7637f7da73ae44b691a1727208fecc145b.tar.gz
libmedia-thumbnail-8ecadd7637f7da73ae44b691a1727208fecc145b.tar.bz2
Change-Id: I5b268111167b31d70835835234bb9c9a19b44d5a
Diffstat (limited to 'server/thumb-server-internal.c')
-rwxr-xr-xserver/thumb-server-internal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/thumb-server-internal.c b/server/thumb-server-internal.c
index 58c8c76..58e9df3 100755
--- a/server/thumb-server-internal.c
+++ b/server/thumb-server-internal.c
@@ -117,7 +117,7 @@ gboolean _thumb_server_read_socket(GIOChannel *src,
client_addr_len = sizeof(client_addr);
if ((client_sock = accept(sock, (struct sockaddr*)&client_addr, &client_addr_len)) < 0) {
- thumb_stderror("accept failed : %s");
+ thumb_stderror("accept failed");
return TRUE;
}
@@ -168,7 +168,7 @@ gboolean _thumb_server_read_socket(GIOChannel *src,
block_size = buf_size;
}
if (send(client_sock, buf+sending_block, block_size, 0) != block_size) {
- thumb_stderror("sendto failed : %s");
+ thumb_stderror("sendto failed");
}
sending_block += block_size;
buf_size -= block_size;
@@ -331,7 +331,7 @@ int _thumbnail_get_data(const char *origin_path,
if (alpha) *alpha = thumb_info.alpha;
if (is_saved) *is_saved = thumb_info.is_saved;
- thumb_dbg("Thumb data is generated successfully (Size:%d, W:%d, H:%d) 0x%x", *size, *width, *height, *data);
+ thumb_dbg("Thumb data is generated successfully (Size:%d, W:%d, H:%d) %p", *size, *width, *height, *data);
return MS_MEDIA_ERR_NONE;
}