diff options
author | wdenk <wdenk> | 2003-07-15 21:50:34 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-07-15 21:50:34 +0000 |
commit | 667122af2d5079589de47855948ce4a3f716cb87 (patch) | |
tree | e82d3291cc18584ad354b6a75610fc854f5d2a0a /common/cmd_log.c | |
parent | 2960b65addd7dcfdc4a4852ca2f557482b58dd22 (diff) |
Avoid unnecessary call to post_word_load();
make logbuf compile without POST
Diffstat (limited to 'common/cmd_log.c')
-rw-r--r-- | common/cmd_log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_log.c b/common/cmd_log.c index 8a7860e7760..8780da5e290 100644 --- a/common/cmd_log.c +++ b/common/cmd_log.c @@ -93,7 +93,7 @@ void logbuff_init_ptrs (void) } #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; |