14 lines
596 B
Diff
14 lines
596 B
Diff
|
Index: squid-6.9/src/ConfigParser.cc
|
||
|
===================================================================
|
||
|
--- squid-6.9.orig/src/ConfigParser.cc
|
||
|
+++ squid-6.9/src/ConfigParser.cc
|
||
|
@@ -181,7 +181,7 @@ ConfigParser::UnQuote(const char *token,
|
||
|
*d = '\0';
|
||
|
|
||
|
// We are expecting a separator after quoted string, space or one of "()#"
|
||
|
- if (*(s + 1) != '\0' && !strchr(w_space "()#", *(s + 1)) && !errorStr) {
|
||
|
+ if (!errorStr && *(s + 1) != '\0' && !strchr(w_space "()#", *(s + 1))) {
|
||
|
errorStr = "Expecting space after the end of quoted token";
|
||
|
errorPos = token;
|
||
|
}
|