Remove a pointless fflush() call in chat()
authorFabian Keil <fk@fabiankeil.de>
Sun, 21 Oct 2012 12:49:54 +0000 (12:49 +0000)
committerFabian Keil <fk@fabiankeil.de>
Sun, 21 Oct 2012 12:49:54 +0000 (12:49 +0000)
Flushing all streams pretty much all the time for no obvious
reason is ridiculous.

jcc.c

diff --git a/jcc.c b/jcc.c
index 9fc9d95..93fa3fc 100644 (file)
--- a/jcc.c
+++ b/jcc.c
@@ -1,4 +1,4 @@
-const char jcc_rcs[] = "$Id: jcc.c,v 1.393 2012/10/21 12:39:27 fabiankeil Exp $";
+const char jcc_rcs[] = "$Id: jcc.c,v 1.394 2012/10/21 12:42:18 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/jcc.c,v $
@@ -1976,7 +1976,6 @@ static void chat(struct client_state *csp)
          }
 #endif /* def FEATURE_CONNECTION_KEEP_ALIVE */
 
-         fflush(NULL);
          len = read_socket(csp->server_connection.sfd, buf, sizeof(buf) - 1);
 
          if (len < 0)