2
0
Эх сурвалжийг харах

msilo: use literal module name for stats group

- prevent conflicts with global exports
Daniel-Constantin Mierla 1 жил өмнө
parent
commit
609960812c

+ 1 - 1
src/modules/msilo/msilo.c

@@ -283,7 +283,7 @@ static int mod_init(void)
 
 #ifdef STATISTICS
 	/* register statistics */
-	if(register_module_stats(exports.name, msilo_stats) != 0) {
+	if(register_module_stats("msilo", msilo_stats) != 0) {
 		LM_ERR("failed to register core statistics\n");
 		return -1;
 	}