#include "squid.h"
#include "cache_cf.h"
+#include "ConfigParser.h"
#include "Debug.h"
#include "format/Config.h"
#include <list>
{
char *name, *def;
- if ((name = strtok(NULL, w_space)) == NULL)
+ if ((name = ConfigParser::NextToken()) == NULL)
self_destruct();
- if ((def = strtok(NULL, "\r\n")) == NULL) {
+ if ((def = ConfigParser::NextQuotedOrToEol()) == NULL) {
self_destruct();
return;
}