summaryrefslogtreecommitdiff
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
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>
-rwxr-xr-xserver/thumb-server-internal.c4
-rwxr-xr-xsrc/ipc/media-thumb-ipc.c6
2 files changed, 5 insertions, 5 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;
}
diff --git a/src/ipc/media-thumb-ipc.c b/src/ipc/media-thumb-ipc.c
index 29ce6b1..21caafb 100755
--- a/src/ipc/media-thumb-ipc.c
+++ b/src/ipc/media-thumb-ipc.c
@@ -551,7 +551,7 @@ _media_thumb_request(int msg_type, const char *origin_path, char *thumb_path, in
int pid;
sock_info.port = MS_THUMB_CREATOR_PORT;
- err = ms_ipc_create_client_socket(MS_PROTOCOL_TCP, MS_TIMEOUT_SEC_10, &sock_info);
+ err = ms_ipc_create_client_socket(MS_TIMEOUT_SEC_10, &sock_info);
if (err != MS_MEDIA_ERR_NONE) {
thumb_err("ms_ipc_create_client_socket failed");
return err;
@@ -773,7 +773,7 @@ int _media_thumb_send_request()
int pid;
sock_info.port = MS_THUMB_CREATOR_PORT;
- err = ms_ipc_create_client_socket(MS_PROTOCOL_TCP, MS_TIMEOUT_SEC_10, &sock_info);
+ err = ms_ipc_create_client_socket(MS_TIMEOUT_SEC_10, &sock_info);
if (err != MS_MEDIA_ERR_NONE) {
thumb_err("ms_ipc_create_client_socket failed");
return err;
@@ -893,7 +893,7 @@ int _media_thumb_raw_data_send_request()
int pid;
sock_info.port = MS_THUMB_CREATOR_PORT;
- err = ms_ipc_create_client_socket(MS_PROTOCOL_TCP, MS_TIMEOUT_SEC_10, &sock_info);
+ err = ms_ipc_create_client_socket(MS_TIMEOUT_SEC_10, &sock_info);
if (err != MS_MEDIA_ERR_NONE) {
thumb_err("ms_ipc_create_client_socket failed");
return err;