diff --git a/include/output.h b/include/output.h index 4f33101..d55b441 100644 --- a/include/output.h +++ b/include/output.h @@ -14,6 +14,7 @@ void put_echo (char *); void BX_put_it (const char *, ...); + void log_put_it(const char *format, ...); void BX_send_to_server (const char *, ...); void BX_my_send_to_server (int, const char *, ...); diff --git a/source/output.c b/source/output.c index c117188..5d51841 100644 --- a/source/output.c +++ b/source/output.c @@ -255,7 +255,7 @@ void BX_yell(const char *format, ...) } -void log_put_it (const char *topic, const char *format, ...) +void log_put_it (const char *format, ...) { if (format) { diff --git a/source/readlog.c b/source/readlog.c index 96f5768..d784a38 100644 --- a/source/readlog.c +++ b/source/readlog.c @@ -34,7 +34,6 @@ static int use_msg_window = 0; static void log_prompt (char *name, char *line); static void set_msg_screen (Screen *); static char *(*read_log_func) (char *, int, FILE *); - void log_put_it(const char *topic, const char *format, ...); BUILT_IN_COMMAND(remove_log) { @@ -119,7 +118,7 @@ BUILT_IN_COMMAND(readlog) if (msg_fp == NULL) { - log_put_it(expand, "%s Error Opening Log file %s", thing_ansi, expand); + log_put_it("%s Error Opening Log file %s", thing_ansi, expand); new_free(&expand); return; } @@ -167,7 +166,7 @@ static int show_log(Window *window, char *name) if (get_int_var(HEBREW_TOGGLE_VAR)) hebrew_process(line); #endif - log_put_it(name, "%s", line); + log_put_it("%s", line); } else {