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

p_usrloc: use literal module name for stats group

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

+ 1 - 1
src/modules/p_usrloc/p_usrloc_mod.c

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