From: wessels <> Date: Sat, 31 Aug 1996 12:40:18 +0000 (+0000) Subject: compiler fixes from Ed Knowles X-Git-Tag: SQUID_3_0_PRE1~5865 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b44c0fb4d912859f527ae80e603740bb8aefb4b9;p=thirdparty%2Fsquid.git compiler fixes from Ed Knowles --- diff --git a/configure b/configure index ac441a437e..d500f78532 100755 --- a/configure +++ b/configure @@ -517,7 +517,7 @@ fi -# From configure.in Revision: 1.29 +# From configure.in Revision: 1.30 ac_aux_dir= for ac_dir in aux $srcdir/aux; do if test -f $ac_dir/install-sh; then @@ -2140,6 +2140,8 @@ case "$host" in LIBS=`echo $LIBS | sed -e s/-lsocket//` echo "Removing -lnsl for IRIX..." LIBS=`echo $LIBS | sed -e s/-lnsl//` + echo "Removing -lbsd for IRIX..." + LIBS=`echo $LIBS | sed -e s/-lbsd//` ;; *m88k*) CFLAGS="$CFLAGS -D_SQUID_MOTOROLA_" @@ -2190,7 +2192,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < conftest.$ac_ext < @@ -2310,7 +2312,7 @@ if test "$cross_compiling" = yes; then SQUID_UDP_SO_SNDBUF=8192 else cat > conftest.$ac_ext < @@ -2346,7 +2348,7 @@ if test "$cross_compiling" = yes; then SQUID_UDP_SO_RCVBUF=8192 else cat > conftest.$ac_ext < @@ -2382,7 +2384,7 @@ if test "$cross_compiling" = yes; then SQUID_TCP_SO_SNDBUF=8192 else cat > conftest.$ac_ext < @@ -2418,7 +2420,7 @@ if test "$cross_compiling" = yes; then SQUID_TCP_SO_RCVBUF=8192 else cat > conftest.$ac_ext < @@ -2451,7 +2453,7 @@ EOF echo $ac_n "checking if sys_errlist is already defined""... $ac_c" 1>&6 cat > conftest.$ac_ext < int main() { return 0; } @@ -2475,7 +2477,7 @@ rm -f conftest* echo $ac_n "checking for libresolv _dns_ttl_ hack""... $ac_c" 1>&6 cat > conftest.$ac_ext <peer.sin_port), ntohs(icpState->me.sin_port)); - (void) comm_write(sock, + comm_write(sock, reqbuf, strlen(reqbuf), 5, /* timeout */ diff --git a/src/ssl.cc b/src/ssl.cc index 86a451abbd..9d964d366c 100644 --- a/src/ssl.cc +++ b/src/ssl.cc @@ -1,6 +1,6 @@ /* - * $Id: ssl.cc,v 1.12 1996/08/26 19:57:11 wessels Exp $ + * $Id: ssl.cc,v 1.13 1996/08/31 06:40:20 wessels Exp $ * * DEBUG: section 26 Secure Sockets Layer Proxy * AUTHOR: Duane Wessels @@ -427,9 +427,9 @@ static int sslConnect(fd, hp, sslState) (void *) sslState); return COMM_OK; } - if (opt_no_ipcache) - ipcacheInvalidate(sslState->host); } + if (opt_no_ipcache) + ipcacheInvalidate(sslState->host); if (Config.sslProxy.host) sslProxyConnected(sslState->server.fd, sslState); else diff --git a/src/tunnel.cc b/src/tunnel.cc index 9a81c15a71..eb52b927a2 100644 --- a/src/tunnel.cc +++ b/src/tunnel.cc @@ -1,6 +1,6 @@ /* - * $Id: tunnel.cc,v 1.12 1996/08/26 19:57:11 wessels Exp $ + * $Id: tunnel.cc,v 1.13 1996/08/31 06:40:20 wessels Exp $ * * DEBUG: section 26 Secure Sockets Layer Proxy * AUTHOR: Duane Wessels @@ -427,9 +427,9 @@ static int sslConnect(fd, hp, sslState) (void *) sslState); return COMM_OK; } - if (opt_no_ipcache) - ipcacheInvalidate(sslState->host); } + if (opt_no_ipcache) + ipcacheInvalidate(sslState->host); if (Config.sslProxy.host) sslProxyConnected(sslState->server.fd, sslState); else