Module: kamailio
Branch: master
Commit: 5d285e90b0f145410acd15a7abf96d3b339a31b5
URL:
https://github.com/kamailio/kamailio/commit/5d285e90b0f145410acd15a7abf96d3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-07-06T11:19:37+02:00
userblacklist: fixed copy-paste typo when evaluating table parameter
---
Modified: modules/userblacklist/userblacklist.c
---
Diff:
https://github.com/kamailio/kamailio/commit/5d285e90b0f145410acd15a7abf96d3…
Patch:
https://github.com/kamailio/kamailio/commit/5d285e90b0f145410acd15a7abf96d3…
---
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;
}
}