CID: 1211941 mod_rayo - unlikely dereference of NULL pointer

This commit is contained in:
Chris Rienzo 2014-05-08 12:10:01 -04:00
parent 17848d26be
commit 42108871c9
1 changed files with 1 additions and 1 deletions

View File

@ -1089,7 +1089,7 @@ static pcre *get_compiled_regex(struct srgs_grammar *grammar)
const char *regex;
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;
}