Module: kamailio
Branch: 4.3
Commit: 4f17face95bd86a3a536fcd18359e39bf8dcf7dc
URL:
https://github.com/kamailio/kamailio/commit/4f17face95bd86a3a536fcd18359e39…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-07-05T15:37:09+02:00
userblacklist: fix typo on evaluating the table parameter
- regression introduced in previous commit, when converting to use core
fixup helpers
- reported by Tim Balmer
(cherry picked from commit 3ad232e1d1ff8533fca425d3c4ee3ccaa1456916)
(cherry picked from commit 89c556b5839959d8ef6dce3f0ba7ab6a27c53f3e)
---
Modified: modules/userblacklist/userblacklist.c
---
Diff:
https://github.com/kamailio/kamailio/commit/4f17face95bd86a3a536fcd18359e39…
Patch:
https://github.com/kamailio/kamailio/commit/4f17face95bd86a3a536fcd18359e39…
---
diff --git a/modules/userblacklist/userblacklist.c
b/modules/userblacklist/userblacklist.c
index 20416ed..44ed6f0 100644
--- a/modules/userblacklist/userblacklist.c
+++ b/modules/userblacklist/userblacklist.c
@@ -236,7 +236,7 @@ static int check_user_list(sip_msg_t *msg, char* str1, char* str2,
}
/* table name */
if(str4 != NULL) {
- if(fixup_get_svalue(msg, (gparam_t*)str3, &table)!=0) {
+ if(fixup_get_svalue(msg, (gparam_t*)str4, &table)!=0) {
LM_ERR("cannot print number pseudo-variable\n");
return -1;
}