Fix typo 43/238143/1 accepted/tizen/unified/20200709.212821 submit/tizen/20200709.031615
authorhj kim <backto.kim@samsung.com>
Thu, 9 Jul 2020 02:25:04 +0000 (11:25 +0900)
committerhj kim <backto.kim@samsung.com>
Thu, 9 Jul 2020 02:25:04 +0000 (11:25 +0900)
Change-Id: Ic8f9c2f9cd22f86d0cb612392805a7572626b1d2

lib/media-util-cynara.c
lib/media-util-dcm.c
src/scanner-v2/media-scanner-socket-v2.c
src/scanner/media-scanner-socket.c
src/server/media-server-dcm.c
src/server/media-server-socket.c

index bf2b877..4f67ef4 100755 (executable)
@@ -152,13 +152,13 @@ int ms_cynara_receive_untrusted_message_thumb(int sockfd, thumbMsg *recv_msg, ms
 
        /* Can be null (kill server msg) */
        if (strlen(recv_msg->org_path) >= MAX_FILEPATH_LEN) {
-               MSAPI_DBG_ERR("org_path size is invlid[%zu]", strlen(recv_msg->org_path));
+               MSAPI_DBG_ERR("org_path size is invalid[%zu]", strlen(recv_msg->org_path));
                return MS_MEDIA_ERR_IPC;
        }
 
        /* Can be null (raw request case) */
        if (strlen(recv_msg->dst_path) >= MAX_FILEPATH_LEN) {
-               MSAPI_DBG_ERR("dst_path size is invlid[%zu]", strlen(recv_msg->dst_path));
+               MSAPI_DBG_ERR("dst_path size is invalid[%zu]", strlen(recv_msg->dst_path));
                return MS_MEDIA_ERR_IPC;
        }
 
index 4531918..8f84216 100755 (executable)
@@ -142,7 +142,7 @@ static gboolean __media_dcm_write_socket(GIOChannel *src, GIOCondition condition
        }
 
        if (strlen(recv_msg.msg) == 0 || strlen(recv_msg.msg) >= MAX_FILEPATH_LEN) {
-               MSAPI_DBG_ERR("msg size is invlid");
+               MSAPI_DBG_ERR("msg size is invalid");
                return G_SOURCE_REMOVE;
        }
 
index ab9d893..94f2158 100755 (executable)
@@ -156,13 +156,13 @@ gboolean msc_receive_request(GIOChannel *src, GIOCondition condition, gpointer d
        }
 
        if (strlen(recv_msg->msg) == 0 || strlen(recv_msg->msg) >= MAX_MSG_SIZE) {
-               MS_DBG_ERR("msg size is invlid");
+               MS_DBG_ERR("msg size is invalid");
                g_free(recv_msg);
                return G_SOURCE_CONTINUE;
        }
 
        if (strlen(recv_msg->storage_id) >= MS_UUID_SIZE) {
-               MS_DBG_ERR("storage_id size is invlid");
+               MS_DBG_ERR("storage_id size is invalid");
                g_free(recv_msg);
                return G_SOURCE_CONTINUE;
        }
index b13fb8c..97d180e 100755 (executable)
@@ -53,13 +53,13 @@ gboolean msc_receive_request(GIOChannel *src, GIOCondition condition, gpointer d
        }
 
        if (strlen(recv_msg->msg) == 0 || strlen(recv_msg->msg) >= MAX_MSG_SIZE) {
-               MS_DBG_ERR("msg size is invlid");
+               MS_DBG_ERR("msg size is invalid");
                g_free(recv_msg);
                return G_SOURCE_CONTINUE;
        }
 
        if (strlen(recv_msg->storage_id) >= MS_UUID_SIZE) {
-               MS_DBG_ERR("storage_id size is invlid");
+               MS_DBG_ERR("storage_id size is invalid");
                g_free(recv_msg);
                return G_SOURCE_CONTINUE;
        }
index 57afe87..5a0687e 100755 (executable)
@@ -105,7 +105,7 @@ static int __ms_dcm_recv_msg(int sock, dcmMsg *msg)
        memcpy(msg, buf, sizeof(dcmMsg));
 
        if (strlen(msg->msg) >= MAX_FILEPATH_LEN) {
-               MS_DBG_ERR("msg size is invlid[%zu]", strlen(msg->msg));
+               MS_DBG_ERR("msg size is invalid[%zu]", strlen(msg->msg));
                g_free(buf);
                return MS_MEDIA_ERR_IPC;
        }
index d764f0c..52390d3 100644 (file)
@@ -433,7 +433,7 @@ gboolean ms_receive_message_from_scanner(GIOChannel *src, GIOCondition condition
        }
 
        MS_DBG_RETVM_IF(strlen(recv_msg.msg) == 0 || strlen(recv_msg.msg) >= MAX_MSG_SIZE, G_SOURCE_CONTINUE, "msg size is invalid!");
-       MS_DBG_RETVM_IF(strlen(recv_msg.storage_id) >= MS_UUID_SIZE, G_SOURCE_CONTINUE, "storage_id size is invlid");
+       MS_DBG_RETVM_IF(strlen(recv_msg.storage_id) >= MS_UUID_SIZE, G_SOURCE_CONTINUE, "storage_id size is invalid");
 
        MS_DBG_SLOG("receive result from scanner [%d][%d] M[%.*s] S[%.*s]", recv_msg.pid, recv_msg.result, MAX_MSG_SIZE, recv_msg.msg, MS_UUID_SIZE, recv_msg.storage_id);