From: Anthony Minessale Date: Mon, 11 Feb 2013 20:38:06 +0000 (-0600) Subject: FS-5089 --resolve X-Git-Tag: v1.3.13~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f510fa8c3a3e74750ebffb1948270b22d915b7e2;p=thirdparty%2Ffreeswitch.git FS-5089 --resolve --- 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; }