Change storage type enum name (ms_user_storage_type_t -> ms_user_storage_type_e) 53/144553/2
authorMinje Ahn <minje.ahn@samsung.com>
Thu, 17 Aug 2017 06:59:02 +0000 (15:59 +0900)
committerhj kim <backto.kim@samsung.com>
Thu, 17 Aug 2017 07:12:42 +0000 (07:12 +0000)
Change-Id: I194e27c3670518d7c4d20ab72198fb29d4cb58d1
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
src/common/media-svc.c

index f4070d0..3454c08 100755 (executable)
@@ -231,7 +231,7 @@ ERROR:
 int media_svc_get_storage_type(const char *path, media_svc_storage_type_e *storage_type, uid_t uid)
 {
        int ret = MS_MEDIA_ERR_NONE;
-       ms_user_storage_type_t type = -1;
+       ms_user_storage_type_e type = -1;
 
        ret = ms_user_get_storage_type(uid, path, &type);
        media_svc_retvm_if(ret != MS_MEDIA_ERR_NONE, ret, "ms_user_get_storage_type failed : %d", ret);
@@ -1012,7 +1012,7 @@ int media_svc_rename_folder(MediaSvcHandle *handle, const char *storage_id, cons
                }
 
                media_svc_debug("New media path : %s", replaced_path);
-               ms_user_storage_type_t storage_type = -1;
+               ms_user_storage_type_e storage_type = -1;
 
                if (!no_thumb) {
                        ret = ms_user_get_storage_type(uid, replaced_path, &storage_type);