From f510fa8c3a3e74750ebffb1948270b22d915b7e2 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 11 Feb 2013 14:38:06 -0600 Subject: [PATCH] FS-5089 --resolve --- src/switch_core_file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/switch_core_file.c b/src/switch_core_file.c index ae040b31be..2841776304 100644 --- a/src/switch_core_file.c +++ b/src/switch_core_file.c @@ -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; }