Skip to content

Commit

Permalink
userblacklist: fix typo on evaluating the table parameter
Browse files Browse the repository at this point in the history
- regression introduced in previous commit, when converting to use core
  fixup helpers
- reported by Tim Balmer

(cherry picked from commit 3ad232e)
  • Loading branch information
miconda committed Jul 5, 2016
1 parent 379e6df commit 89c556b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/userblacklist/userblacklist.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit 89c556b

Please sign in to comment.