From: jongfoster Date: Sat, 26 May 2001 00:37:42 +0000 (+0000) Subject: Cosmetic indentation correction. X-Git-Tag: v_2_9_9~486 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=88722394d0d63c4b2356a78139653bb0a4c03611 Cosmetic indentation correction. --- diff --git a/jbsockets.c b/jbsockets.c index a7a96b02..69f3e3a3 100644 --- a/jbsockets.c +++ b/jbsockets.c @@ -1,4 +1,4 @@ -const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.2 2001/05/17 23:01:01 oes Exp $"; +const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.3 2001/05/25 21:57:54 jongfoster Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jbsockets.c,v $ @@ -35,6 +35,10 @@ const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.2 2001/05/17 23:01:01 oes Exp * * Revisions : * $Log: jbsockets.c,v $ + * Revision 1.3 2001/05/25 21:57:54 jongfoster + * Now gives a warning under Windows if you try to bind + * it to a port that's already in use. + * * Revision 1.2 2001/05/17 23:01:01 oes * - Cleaned CRLF's from the sources and related files * @@ -230,7 +234,10 @@ int connect_to(char *host, int portnum, struct client_state *csp) *********************************************************************/ int write_socket(int fd, const char *buf, int len) { - if (len <= 0) return(0); + if (len <= 0) + { + return(0); + } /* if (DEBUG(LOG)) fwrite(buf, n, 1, logfp); */