Modify directory path 69/62169/2 submit/tizen/20160321.072619
authorJi Yong Min <jiyong.min@samsung.com>
Tue, 15 Mar 2016 00:26:15 +0000 (09:26 +0900)
committerJiyong Min <jiyong.min@samsung.com>
Mon, 21 Mar 2016 07:05:43 +0000 (00:05 -0700)
Change-Id: Ia288a49e2ad8b2dcfcc0f36a424755a54e9e4415
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
server/thumb-server-internal.c
src/ipc/media-thumb-ipc.c

index 06a3457..eb1e912 100755 (executable)
@@ -42,7 +42,7 @@
 #define THUMB_DEFAULT_HEIGHT 240
 #define THUMB_BLOCK_SIZE 512
 #define THUMB_ROOT_UID "0"
-#define THUMB_COMM_SOCK_PATH "/var/run/media-server/media_ipc_thumbcomm.socket"
+#define THUMB_COMM_SOCK_PATH tzplatform_mkpath(TZ_SYS_RUN, "media-server/media_ipc_thumbcomm.socket")
 #define THUMB_EMPTY_STR ""
 
 static __thread char **arr_path;
index cbbb7b0..aded136 100755 (executable)
@@ -32,7 +32,7 @@
 #include <pwd.h>
 
 #define THUMB_SOCK_BLOCK_SIZE 512
-#define THUMB_IPC_PATH "/var/run/media-server/media_ipc_thumbcreator.socket"
+#define THUMB_IPC_PATH tzplatform_mkpath(TZ_SYS_RUN, "media-server/media_ipc_thumbcreator.socket")
 
 static GQueue *g_request_queue = NULL;
 static GQueue *g_manage_queue = NULL;
@@ -1180,4 +1180,4 @@ int _media_thumb_request_cancel_all(bool isRaw)
        }
 
        return MS_MEDIA_ERR_NONE;
-}
\ No newline at end of file
+}