Преглед на файлове

p_usrloc: use literal module name for stats group

- prevent conflicts with global exports
Daniel-Constantin Mierla преди 1 година
родител
ревизия
a951cb44ec
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/modules/p_usrloc/p_usrloc_mod.c

+ 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;
 	}