Module: kamailio
Branch: 4.4
Commit: 7d9423448708330f197021d23e94e1b2d13ab8b8
URL:
https://github.com/kamailio/kamailio/commit/7d9423448708330f197021d23e94e1b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-07-06T11:20:17+02:00
userblacklist: fixed copy-paste typo when evaluating table parameter
(cherry picked from commit 5d285e90b0f145410acd15a7abf96d3b339a31b5)
---
Modified: modules/userblacklist/userblacklist.c
---
Diff:
https://github.com/kamailio/kamailio/commit/7d9423448708330f197021d23e94e1b…
Patch:
https://github.com/kamailio/kamailio/commit/7d9423448708330f197021d23e94e1b…
---
diff --git a/modules/userblacklist/userblacklist.c
b/modules/userblacklist/userblacklist.c
index cac4279..2a1a448 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;
}
}