Explorar o código

dialog: do not print module name in log messages

- it is added automatically
Daniel-Constantin Mierla hai 1 ano
pai
achega
e45c97d112
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/modules/dialog/dialog.c

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

@@ -552,7 +552,7 @@ static int mod_init(void)
 	/* register statistics */
 	if(dlg_enable_stats
 			&& (register_module_stats(exports.name, mod_stats) != 0)) {
-		LM_ERR("failed to register %s statistics\n", exports.name);
+		LM_ERR("failed to register statistics\n");
 		return -1;
 	}
 #endif