From: oes Date: Wed, 17 Dec 2003 16:34:40 +0000 (+0000) Subject: Cosmetics X-Git-Tag: v_3_0_3~32 X-Git-Url: http://www.privoxy.org/gitweb/?a=commitdiff_plain;h=fba6188c4f199dde302c898eb59982e9ba8664f6;p=privoxy.git Cosmetics --- diff --git a/acconfig.h b/acconfig.h index 164c637a..a883831c 100644 --- a/acconfig.h +++ b/acconfig.h @@ -37,6 +37,9 @@ * * Revisions : * $Log: acconfig.h,v $ + * Revision 1.27.2.3 2003/03/27 16:03:19 oes + * Another shot at Bug #707467 + * * Revision 1.27.2.2 2003/03/21 14:39:12 oes * Presumably fixed Bug #707467 by defining unix ifdef __unix__ * @@ -389,7 +392,7 @@ #undef HAVE_GETHOSTBYADDR_R_7_ARGS #undef HAVE_GETHOSTBYADDR_R_5_ARGS -/* Define if you have gmtime_r and localtime_r with a signature +/* Defined if you have gmtime_r and localtime_r with a signature * of (struct time *, struct tm *) */ #undef HAVE_GMTIME_R diff --git a/jbsockets.c b/jbsockets.c index 2b268f41..e22d4075 100644 --- a/jbsockets.c +++ b/jbsockets.c @@ -1,4 +1,4 @@ -const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.35.2.4 2003/04/04 12:40:20 oes Exp $"; +const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.35.2.5 2003/04/29 11:32:54 oes Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/Attic/jbsockets.c,v $ @@ -35,6 +35,10 @@ const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.35.2.4 2003/04/04 12:40:20 oe * * Revisions : * $Log: jbsockets.c,v $ + * Revision 1.35.2.5 2003/04/29 11:32:54 oes + * Don't rely on h_addr being non-NULL after gethostbyname. + * Works around an oddness in Max OSX and closes bug #724796 + * * Revision 1.35.2.4 2003/04/04 12:40:20 oes * Made sure the errno set by bind, not close[socket] is used in * bind_port. Probably fixes bugs #713777, #705562. @@ -339,7 +343,7 @@ jb_socket connect_to(const char *host, int portnum, struct client_state *csp) #ifdef TCP_NODELAY { /* turn off TCP coalescence */ int mi = 1; - setsockopt (fd, IPPROTO_TCP, TCP_NODELAY, (char *) &mi, sizeof (int)); + setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, (char *) &mi, sizeof (int)); } #endif /* def TCP_NODELAY */