From 064cb55ff9f7584ccc1af9a4f0d77442c098d1c2 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Mon, 8 Jun 2009 16:50:35 +0000 Subject: [PATCH] The fflush() argument is a pointer. Don't use 0 instead of NULL. --- jcc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.2