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

websocket: use literal module name for stats group

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

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

@@ -194,7 +194,7 @@ static int mod_init(void)
 		goto error;
 	}
 
-	if(register_module_stats(exports.name, stats) != 0) {
+	if(register_module_stats("websocket", stats) != 0) {
 		LM_ERR("registering core statistics\n");
 		goto error;
 	}