diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1998-08-29 23:26:30 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1998-08-29 23:26:30 -0400 |
commit | 51f21bae26e432283a7b5e2b6c558bffe8bbb034 (patch) | |
tree | 08b61afd9adc7cd5635bed6d21d3bd4e3867ce75 /src/LYUtils.c | |
parent | 3c7cb4bbcd56c17e1abba05f20d001a2484d9919 (diff) | |
download | lynx-snapshots-51f21bae26e432283a7b5e2b6c558bffe8bbb034.tar.gz |
snapshot of project "lynx", label v2-8-1dev_23
Diffstat (limited to 'src/LYUtils.c')
-rw-r--r-- | src/LYUtils.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/LYUtils.c b/src/LYUtils.c index c4deaac9..532bd69d 100644 --- a/src/LYUtils.c +++ b/src/LYUtils.c @@ -2038,10 +2038,8 @@ PUBLIC int HTCheckForInterrupt NOARGS if (fake_zap > 0) { fake_zap--; - if (TRACE) { - fprintf(tfp, "\r *** Got simulated 'Z' ***\n"); - fflush(tfp); - } + CTRACE(tfp, "\r *** Got simulated 'Z' ***\n"); + CTRACE_FLUSH(tfp); CTRACE_SLEEP(AlertSecs); return((int)TRUE); } @@ -2158,10 +2156,8 @@ PUBLIC int HTCheckForInterrupt NOARGS if (fake_zap > 0) { fake_zap--; - if (TRACE) { - fprintf(tfp, "\r *** Got simulated 'Z' ***\n"); - fflush(tfp); - } + CTRACE(tfp, "\r *** Got simulated 'Z' ***\n"); + CTRACE_FLUSH(tfp); CTRACE_SLEEP(AlertSecs); return((int)TRUE); } @@ -5781,6 +5777,7 @@ PUBLIC void LYRemoveTemp ARGS1( #endif CTRACE(tfp, "...LYRemoveTemp done(%d)%s\n", code, (p->file != 0) ? ", closed" : ""); + CTRACE_FLUSH(tfp); if (p->file != 0) fclose(p->file); free(p->name); |