X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=jcc.c;h=528b748041a20e4786cc8733916799ae4df6edd5;hp=8491c84a7980451f5778157dbc5fe0246d4696b8;hb=98a2b4811d4316ff8797495a803fa0d712d25176;hpb=d8b38820d095bacee7530284ac580bf644a783e5;ds=sidebyside diff --git a/jcc.c b/jcc.c index 8491c84a..528b7480 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.38 2001/09/16 13:01:46 jongfoster Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.39 2001/09/16 13:21:27 jongfoster Exp $"; /********************************************************************* * * 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 $ + * 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. * @@ -919,7 +922,7 @@ static void chat(struct client_state *csp) 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;