From: Fabian Keil <fk@fabiankeil.de>
Date: Mon, 8 Jun 2009 16:50:35 +0000 (+0000)
Subject: The fflush() argument is a pointer. Don't use 0 instead of NULL.
X-Git-Tag: v_3_0_13~38
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/%22javascript:back()/user-manual/diff?a=commitdiff_plain;h=064cb55ff9f7584ccc1af9a4f0d77442c098d1c2;p=privoxy.git

The fflush() argument is a pointer. Don't use 0 instead of NULL.
---

diff --git a/jcc.c b/jcc.c
index 42c42b4b..121932c7 100644
--- a/jcc.c
+++ b/jcc.c
@@ -1,4 +1,4 @@
-const char jcc_rcs[] = "$Id: jcc.c,v 1.251 2009/06/03 16:42:49 fabiankeil Exp $";
+const char jcc_rcs[] = "$Id: jcc.c,v 1.252 2009/06/08 16:48:50 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/jcc.c,v $
@@ -1819,7 +1819,7 @@ static void chat(struct client_state *csp)
        */
       if (FD_ISSET(csp->sfd, &rfds))
       {
-         fflush(0);
+         fflush(NULL);
          len = read_socket(csp->sfd, buf, sizeof(buf) - 1);
 
          if (len < 0)