]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
use internalCheck
authorwessels <>
Wed, 6 May 1998 05:04:04 +0000 (05:04 +0000)
committerwessels <>
Wed, 6 May 1998 05:04:04 +0000 (05:04 +0000)
src/client_side.cc

index b3c1abf144e901e319e229cacd4836c208b8f533..8e2bf5f270de49e061e28454d69e2cd541f18383 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_side.cc,v 1.298 1998/05/05 03:49:57 wessels Exp $
+ * $Id: client_side.cc,v 1.299 1998/05/05 23:04:04 wessels Exp $
  *
  * DEBUG: section 33    Client-side Routines
  * AUTHOR: Duane Wessels
@@ -1998,7 +1998,7 @@ clientReadRequest(int fd, void *data)
                break;
            }
            if (!http->flags.internal)
-               if (0 == strNCmp(request->urlpath, "/squid-internal/", 16))
+               if (internalCheck(strBuf(request->urlpath)))
                    if (0 == strcasecmp(request->host, getMyHostname()))
                        if (request->port == Config.Port.http->i)
                            http->flags.internal = 1;