]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
CID: 1211940 mod_rayo - unlikely dereference of NULL pointer
authorChris Rienzo <chris.rienzo@grasshopper.com>
Thu, 8 May 2014 16:11:15 +0000 (12:11 -0400)
committerChris Rienzo <chris.rienzo@grasshopper.com>
Thu, 8 May 2014 16:16:22 +0000 (12:16 -0400)
src/mod/event_handlers/mod_rayo/srgs.c

index 57edd169993ad21ceb5b12285ce6376bc1fe940e..b86704828f96b52612879d49865da13944c5dd94 100644 (file)
@@ -1573,7 +1573,7 @@ const char *srgs_grammar_to_jsgf(struct srgs_grammar *grammar)
 const char *srgs_grammar_to_jsgf_file(struct srgs_grammar *grammar, const char *basedir, const char *ext)
 {
        if (!grammar) {
-               switch_log_printf(SWITCH_CHANNEL_UUID_LOG(grammar->uuid), SWITCH_LOG_CRIT, "grammar is NULL!\n");
+               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "grammar is NULL!\n");
                return NULL;
        }
        switch_mutex_lock(grammar->mutex);