summaryrefslogtreecommitdiff
path: root/server/thumb-server-internal.c
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2017-01-12 08:16:12 (GMT)
committerMinje Ahn <minje.ahn@samsung.com>2017-01-12 08:16:12 (GMT)
commit53b62578d0e07f3026d1ad7a994591ab1ab92889 (patch)
tree466b8a9a6463eaa2261d3495bcda89d47e02ccf8 /server/thumb-server-internal.c
parent4dbb5ac1497b4e4a9cfe1c96588ed21095976238 (diff)
downloadlibmedia-thumbnail-53b62578d0e07f3026d1ad7a994591ab1ab92889.zip
libmedia-thumbnail-53b62578d0e07f3026d1ad7a994591ab1ab92889.tar.gz
libmedia-thumbnail-53b62578d0e07f3026d1ad7a994591ab1ab92889.tar.bz2
Delete UDP related code Change-Id: I602270245bb290ce28f64a803f75e94edcbfb9ae Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'server/thumb-server-internal.c')
-rwxr-xr-xserver/thumb-server-internal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/thumb-server-internal.c b/server/thumb-server-internal.c
index f42d1d8..acecb5d 100755
--- a/server/thumb-server-internal.c
+++ b/server/thumb-server-internal.c
@@ -450,7 +450,7 @@ static gboolean __thumb_server_send_msg_to_agent(int msg_type)
ms_thumb_server_msg send_msg;
sock_info.port = MS_THUMB_COMM_PORT;
- if (ms_ipc_create_client_socket(MS_PROTOCOL_TCP, MS_TIMEOUT_SEC_10, &sock_info) < 0) {
+ if (ms_ipc_create_client_socket(MS_TIMEOUT_SEC_10, &sock_info) < 0) {
thumb_err("ms_ipc_create_server_socket failed");
return FALSE;
}
@@ -512,7 +512,7 @@ gboolean _thumb_server_prepare_socket(int *sock_fd)
memset((void *)&res_msg, 0, sizeof(res_msg));
serv_port = MS_THUMB_DAEMON_PORT;
- if (ms_ipc_create_server_socket(MS_PROTOCOL_TCP, serv_port, &sock) < 0) {
+ if (ms_ipc_create_server_socket(serv_port, &sock) < 0) {
thumb_err("ms_ipc_create_server_socket failed");
return FALSE;
}