projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ed2a7ea
)
The fflush() argument is a pointer. Don't use 0 instead of NULL.
author
Fabian Keil
<fk@fabiankeil.de>
Mon, 8 Jun 2009 16:50:35 +0000
(16:50 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Mon, 8 Jun 2009 16:50:35 +0000
(16:50 +0000)
jcc.c
patch
|
blob
|
history
diff --git
a/jcc.c
b/jcc.c
index
42c42b4
..
121932c
100644
(file)
--- a/
jcc.c
+++ b/
jcc.c
@@
-1,4
+1,4
@@
-const char jcc_rcs[] = "$Id: jcc.c,v 1.25
1 2009/06/03 16:42:49
fabiankeil Exp $";
+const char jcc_rcs[] = "$Id: jcc.c,v 1.25
2 2009/06/08 16:48:50
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jcc.c,v $
/*********************************************************************
*
* 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))
{
*/
if (FD_ISSET(csp->sfd, &rfds))
{
- fflush(
0
);
+ fflush(
NULL
);
len = read_socket(csp->sfd, buf, sizeof(buf) - 1);
if (len < 0)
len = read_socket(csp->sfd, buf, sizeof(buf) - 1);
if (len < 0)