Just update debugging msg 69/139469/1 accepted/tizen/unified/20170721.202116 submit/tizen/20170721.022556
authorHaejeong Kim <backto.kim@samsung.com>
Wed, 19 Jul 2017 05:30:57 +0000 (14:30 +0900)
committerHaejeong Kim <backto.kim@samsung.com>
Wed, 19 Jul 2017 05:30:57 +0000 (14:30 +0900)
Change-Id: I8390c2bcdb7e1be1980c4bac727d5df83b6d8aba

src/metadata_editor.cpp

index fe9cd79..846bf94 100755 (executable)
@@ -702,7 +702,7 @@ int __metadata_editor_get_file_type(const char *path) {
 
                char ext[255] = { 0 };
                int ret = __metadata_editor_get_file_ext(path, ext, sizeof(ext));
-               metadata_editor_retvm_if(ret < 0, METADATA_EDITOR_FORMAT_NOTYPE, "__metadata_editor_get_file_type failed");
+               metadata_editor_retvm_if(ret < 0, METADATA_EDITOR_FORMAT_NOTYPE, "__metadata_editor_get_file_ext failed");
 
                if (strcasecmp(ext, "MP3") == 0)
                        return METADATA_EDITOR_FORMAT_MP3;
@@ -736,7 +736,7 @@ int __metadata_editor_get_picture_type(const char *path, char **type) {
 
                char ext[255] = { 0 };
                int ret = __metadata_editor_get_file_ext(path, ext, sizeof(ext));
-               metadata_editor_retvm_if(ret < 0, METADATA_EDITOR_ERROR_OPERATION_FAILED, "__metadata_editor_get_file_type failed");
+               metadata_editor_retvm_if(ret < 0, METADATA_EDITOR_ERROR_OPERATION_FAILED, "__metadata_editor_get_file_ext failed");
 
                if (strcasecmp(ext, "JPG") == 0 || strcasecmp(ext, "JPEG") == 0) {
                        *type = strndup(type_jpeg, strlen(type_jpeg));