--- a/src/util.c Wed Dec 13 06:39:24 2000 +0000 +++ b/src/util.c Wed Dec 13 20:18:35 2000 +0000 @@ -403,8 +403,7 @@ if (stat(log_all_file, &st) < 0) flag = 1; - sprintf(debug_buff,"Logging to: \"%s\"\n", log_all_file); - debug_print(debug_buff); + debug_printf("Logging to: \"%s\"\n", log_all_file); fd = fopen(log_all_file, "a"); @@ -428,8 +427,7 @@ int cnt=0; /* Assumes you have a buffer able to cary at least BUF_LEN * 2 bytes */ if (strlen(msg) > BUF_LEN) { - sprintf(debug_buff, "Warning: truncating message to 2048 bytes\n"); - debug_print(debug_buff); + debug_printf("Warning: truncating message to 2048 bytes\n"); msg[2047]='\0'; }