Преглед изворни кода

ims_auth: use literal module name for stats group

- prevent conflicts with global exports
Daniel-Constantin Mierla пре 1 година
родитељ
комит
524eeca084
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/modules/ims_auth/ims_auth_mod.c

+ 1 - 1
src/modules/ims_auth/ims_auth_mod.c

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