1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-23 19:45:35 +00:00

FS-5434 --resolve

This commit is contained in:
Jeff Lenk 2013-05-17 21:38:32 -05:00
parent bf688a87aa
commit dec5a592ca

@ -271,7 +271,7 @@ SWITCH_STANDARD_API(blacklist_api_function)
filename = switch_core_hash_find(globals.files, argv[1]); filename = switch_core_hash_find(globals.files, argv[1]);
switch_mutex_unlock(globals.files_mutex); switch_mutex_unlock(globals.files_mutex);
if (!bl) { if (!bl || !filename) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Unknown blacklist [%s]\n", argv[1]); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Unknown blacklist [%s]\n", argv[1]);
stream->write_function(stream, "-ERR Unknown blacklist\n"); stream->write_function(stream, "-ERR Unknown blacklist\n");
goto done; goto done;