From f7b99428b05d819e4398e7e72d71639c5ac61840 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 6 Jun 2008 14:15:19 +0000 Subject: [PATCH] thanks Ctrix git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8777 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_fifo/mod_fifo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_fifo/mod_fifo.c b/src/mod/applications/mod_fifo/mod_fifo.c index af82a23ee8..8eed8bf1bb 100644 --- a/src/mod/applications/mod_fifo/mod_fifo.c +++ b/src/mod/applications/mod_fifo/mod_fifo.c @@ -1126,7 +1126,7 @@ SWITCH_STANDARD_API(fifo_api_function) switch_safe_free(xml_text); } else if (!strcasecmp(argv[0], "importance")) { - if ((node = switch_core_hash_find(globals.fifo_hash, argv[1]))) { + if (argv[1] && (node = switch_core_hash_find(globals.fifo_hash, argv[1]))) { int importance = 0; if (argc > 2) { importance = atoi(argv[2]);