Skip to content

Commit

Permalink
userblacklist: fixed copy-paste typo when evaluating table parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Jul 6, 2016
1 parent 1934e65 commit 5d285e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/userblacklist/userblacklist.c
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 5d285e9

Please sign in to comment.