projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d8b3882
)
Fixing signed/unsigned comparison warning.
author
jongfoster
<jongfoster@users.sourceforge.net>
Sun, 16 Sep 2001 15:41:45 +0000
(15:41 +0000)
committer
jongfoster
<jongfoster@users.sourceforge.net>
Sun, 16 Sep 2001 15:41:45 +0000
(15:41 +0000)
jcc.c
patch
|
blob
|
history
diff --git
a/jcc.c
b/jcc.c
index
8491c84
..
528b748
100644
(file)
--- a/
jcc.c
+++ b/
jcc.c
@@
-1,4
+1,4
@@
-const char jcc_rcs[] = "$Id: jcc.c,v 1.3
8 2001/09/16 13:01:46
jongfoster Exp $";
+const char jcc_rcs[] = "$Id: jcc.c,v 1.3
9 2001/09/16 13:21:27
jongfoster Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jcc.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jcc.c,v $
@@
-33,6
+33,9
@@
const char jcc_rcs[] = "$Id: jcc.c,v 1.38 2001/09/16 13:01:46 jongfoster Exp $";
*
* Revisions :
* $Log: jcc.c,v $
*
* Revisions :
* $Log: jcc.c,v $
+ * Revision 1.39 2001/09/16 13:21:27 jongfoster
+ * Changes to use new list functions.
+ *
* Revision 1.38 2001/09/16 13:01:46 jongfoster
* Removing redundant function call that zeroed zalloc()'d memory.
*
* Revision 1.38 2001/09/16 13:01:46 jongfoster
* Removing redundant function call that zeroed zalloc()'d memory.
*
@@
-919,7
+922,7
@@
static void chat(struct client_state *csp)
n = strlen(hdr);
if ((write_socket(csp->cfd, hdr, n) != n)
n = strlen(hdr);
if ((write_socket(csp->cfd, hdr, n) != n)
- || (write_socket(csp->cfd, p != NULL ? p : csp->iob->cur, csp->content_length) != csp->content_length))
+ || (write_socket(csp->cfd, p != NULL ? p : csp->iob->cur, csp->content_length) !=
(int)
csp->content_length))
{
log_error(LOG_LEVEL_CONNECT, "write modified content to client failed: %E");
return;
{
log_error(LOG_LEVEL_CONNECT, "write modified content to client failed: %E");
return;