From: wessels <> Date: Thu, 17 Jul 1997 11:21:32 +0000 (+0000) Subject: char *me = getMyHostname() breaks strtok on irix-6? X-Git-Tag: SQUID_3_0_PRE1~4868 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=20bed4b801ec20ee03f14d479f6b06db3e06a173;p=thirdparty%2Fsquid.git char *me = getMyHostname() breaks strtok on irix-6? --- diff --git a/src/cache_cf.cc b/src/cache_cf.cc index dd7f6da592..a1b7f58e59 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -1,5 +1,5 @@ /* - * $Id: cache_cf.cc,v 1.213 1997/07/16 22:58:23 wessels Exp $ + * $Id: cache_cf.cc,v 1.214 1997/07/17 05:21:32 wessels Exp $ * * DEBUG: section 3 Configuration File Parsing * AUTHOR: Harvest Derived @@ -490,7 +490,7 @@ parse_peer(peer ** head) peer *p; int i; ushortlist *u; - const char *me = getMyHostname();; + const char *me = null_string; /* XXX */ p = xcalloc(1, sizeof(peer)); p->http_port = CACHE_HTTP_PORT; p->icp_port = CACHE_ICP_PORT;