/*
- * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
#include "squid.h"
#include "acl/IntRange.h"
#include "cache_cf.h"
+#include "ConfigParser.h"
#include "Debug.h"
#include "fatal.h"
#include "Parsing.h"
void
ACLIntRange::parse()
{
- char *a;
-
- while ((a = strtokFile())) {
+ while (char *a = ConfigParser::strtokFile()) {
char *b = strchr(a, '-');
unsigned short port1, port2;
return sl;
}
+