[sr-dev] git:master:5d285e90: userblacklist: fixed copy-paste typo when evaluating table parameter
Daniel-Constantin Mierla
miconda at gmail.com
Wed Jul 6 11:19:48 CEST 2016
Module: kamailio
Branch: master
Commit: 5d285e90b0f145410acd15a7abf96d3b339a31b5
URL: https://github.com/kamailio/kamailio/commit/5d285e90b0f145410acd15a7abf96d3b339a31b5
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/5d285e90b0f145410acd15a7abf96d3b339a31b5.diff
Patch: https://github.com/kamailio/kamailio/commit/5d285e90b0f145410acd15a7abf96d3b339a31b5.patch
---
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;
}
}
More information about the sr-dev
mailing list