commit | 3aaa67ac00f113332ae500a502146cd164b78990 | [log] [tgz] |
---|---|---|
author | wdenk <wdenk> | Tue Jul 15 21:50:34 2003 +0000 |
committer | wdenk <wdenk> | Tue Jul 15 21:50:34 2003 +0000 |
tree | e82d3291cc18584ad354b6a75610fc854f5d2a0a | |
parent | 41bea1102b905bbe34f49f14547a164a7d221815 [diff] [blame] |
Avoid unnecessary call to post_word_load(); make logbuf compile without POST
diff --git a/common/cmd_log.c b/common/cmd_log.c index 8a7860e..8780da5 100644 --- a/common/cmd_log.c +++ b/common/cmd_log.c
@@ -93,7 +93,7 @@ } #else /* No post routines, so we do our own checking */ - if (post_word_load () != LOGBUFF_MAGIC) { + if (post_word != LOGBUFF_MAGIC) { logged_chars = log_size = log_start = 0; post_word_store (LOGBUFF_MAGIC); *ext_tag = LOGBUFF_MAGIC;