From: Fabian Keil <fk@fabiankeil.de>
Date: Sun, 21 Oct 2012 12:49:54 +0000 (+0000)
Subject: Remove a pointless fflush() call in chat()
X-Git-Tag: v_3_0_20~232
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/%22javascript:back()/user-manual/diff?a=commitdiff_plain;h=56b571c3aefc6d07dc63bc23b96704c9fde9d684;p=privoxy.git

Remove a pointless fflush() call in chat()

Flushing all streams pretty much all the time for no obvious
reason is ridiculous.
---

diff --git a/jcc.c b/jcc.c
index 9fc9d95f..93fa3fce 100644
--- 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)