Sfoglia il codice sorgente

dialog: do not print module name in log messages

- it is added automatically
Daniel-Constantin Mierla 1 anno fa
parent
commit
e45c97d112
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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