]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5089 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 11 Feb 2013 20:38:06 +0000 (14:38 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 11 Feb 2013 20:38:11 +0000 (14:38 -0600)
src/switch_core_file.c

index ae040b31be24ca48ce8ce504fe8c9d9f6bbb8bc0..28417763040dc5bbeb45d1a5d58e9300e3764ab5 100644 (file)
@@ -78,6 +78,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_perform_file_open(const char *file,
 
        if (switch_directory_exists(file_path, fh->memory_pool) == SWITCH_STATUS_SUCCESS) {
                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "File [%s] is a directory not a file.\n", file_path);
+               status = SWITCH_STATUS_GENERR;
                goto fail;
        }