summaryrefslogtreecommitdiff
path: root/src/media_folder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/media_folder.c')
-rwxr-xr-xsrc/media_folder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/media_folder.c b/src/media_folder.c
index ee72420..f53ae18 100755
--- a/src/media_folder.c
+++ b/src/media_folder.c
@@ -528,7 +528,7 @@ int media_folder_set_name(media_folder_h folder, const char *name)
if (ignore_dir == TRUE) {
media_content_error("Invalid folder path");
SAFE_FREE(folder_path);
- return MEDIA_CONTENT_ERROR_INVALID_PARAMETER;
+ return ret;
}
SAFE_FREE(g_src_path);