Commit 405170ce authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Don't fflush(stdout) unless buglevel > 0.

parent 3ca1adc0
/*
* $Id: connections.c,v 0.20 1992/08/12 04:12:53 ceder Exp $
* $Id: connections.c,v 0.21 1992/09/06 18:53:40 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -30,7 +30,7 @@
* Created by Willf|r 31/3-90. Mostly written by ceder.
*/
static char *rcsid = "$Id: connections.c,v 0.20 1992/08/12 04:12:53 ceder Exp $";
static char *rcsid = "$Id: connections.c,v 0.21 1992/09/06 18:53:40 ceder Exp $";
#include <errno.h>
......@@ -916,7 +916,8 @@ toploop(void)
case ISC_EVENT_TIMEOUT:
BUG((">"));
#ifdef DEBUG
fflush(stdout);
if (buglevel > 0)
fflush(stdout);
#endif
if ( pending_input == FALSE )
timeout = end_of_atomic(TRUE); /* Idle. Do some cleaning up. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment