Explorar o código

ims_icscf: use literal module name for stats group

- prevent conflicts with global exports
Daniel-Constantin Mierla hai 1 ano
pai
achega
3951466000
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/modules/ims_icscf/ims_icscf_mod.c

+ 1 - 1
src/modules/ims_icscf/ims_icscf_mod.c

@@ -172,7 +172,7 @@ static int mod_init(void)
 	int route_no;
 	int route_no;
 
 
 #ifdef STATISTICS
 #ifdef STATISTICS
-	if(register_module_stats(exports.name, mod_stats) != 0) {
+	if(register_module_stats("ims_icscf", mod_stats) != 0) {
 		LM_ERR("failed to register core statistics\n");
 		LM_ERR("failed to register core statistics\n");
 		goto error;
 		goto error;
 	}
 	}