]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix return value of ConfigParser::strtokFile()
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 22 Jul 2013 01:26:09 +0000 (19:26 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 22 Jul 2013 01:26:09 +0000 (19:26 -0600)
src/ConfigParser.cc

index a4e3ffcb86afcb13c14b2ffdb6f1a95b582505ef..ac12c2d304c874c5d898fe00406502a53189873e 100644 (file)
@@ -129,7 +129,7 @@ ConfigParser::strtokFile()
 
                 if ((wordFile = fopen(t, "r")) == NULL) {
                     debugs(3, DBG_CRITICAL, "Can not open file " << t << " for reading");
-                    return false;
+                    return NULL;
                 }
 
 #if _SQUID_WINDOWS_