Module: sip-router
Branch: master
Commit: a8e660b62bf6b6ca10d63078d6574ebdffc61fe2
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a8e660b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri May 8 08:15:12 2009 +0200
statistics: use fixup_pvar_null()
- fixup_pvar() replaced by fixup_pvar_null()
---
modules_k/statistics/statistics.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/statistics/statistics.c b/modules_k/statistics/statistics.c
index 45d0baf..ee6e61b 100644
--- a/modules_k/statistics/statistics.c
+++ b/modules_k/statistics/statistics.c
@@ -122,7 +122,7 @@ static int fixup_stat(void** param, int param_no)
memset( sopv, 0 , sizeof(struct stat_or_pv) );
/* is it pv? */
if (s.s[0]=='$') {
- if (fixup_pvar(param)!=0) {
+ if (fixup_pvar_null(param, 1)!=0) {
LM_ERR("invalid pv %.s as parameter\n",s.s);
return E_CFG;
}