From 7d9423448708330f197021d23e94e1b2d13ab8b8 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Wed, 6 Jul 2016 11:19:08 +0200 Subject: [PATCH] userblacklist: fixed copy-paste typo when evaluating table parameter (cherry picked from commit 5d285e90b0f145410acd15a7abf96d3b339a31b5) --- modules/userblacklist/userblacklist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/userblacklist/userblacklist.c b/modules/userblacklist/userblacklist.c index cac42797519..2a1a448cff1 100644 --- a/modules/userblacklist/userblacklist.c +++ b/modules/userblacklist/userblacklist.c @@ -248,9 +248,9 @@ static int check_user_list(sip_msg_t *msg, char* puser, char* pdomain, } } /* table name */ - if(pnumber != NULL) { + if(ptable != NULL) { if(fixup_get_svalue(msg, (gparam_t*)ptable, &table)!=0) { - LM_ERR("cannot print number pseudo-variable\n"); + LM_ERR("cannot print table pseudo-variable\n"); return -1; } }