Browse code

statistics: use fixup_pvar_null()

- fixup_pvar() replaced by fixup_pvar_null()

Daniel-Constantin Mierla authored on 08/05/2009 06:15:12
Showing 1 changed files
... ...
@@ -122,7 +122,7 @@ static int fixup_stat(void** param, int param_no)
122 122
 		memset( sopv, 0 , sizeof(struct stat_or_pv) );
123 123
 		/* is it pv? */
124 124
 		if (s.s[0]=='$') {
125
-			if (fixup_pvar(param)!=0) {
125
+			if (fixup_pvar_null(param, 1)!=0) {
126 126
 				LM_ERR("invalid pv %.s as parameter\n",s.s);
127 127
 				return E_CFG;
128 128
 			}