From: Amos Jeffries Date: Mon, 22 Jul 2013 01:26:09 +0000 (-0600) Subject: Fix return value of ConfigParser::strtokFile() X-Git-Tag: SQUID_3_4_0_1~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a4b58d5171f32a17414c50107d4e6c4a63625f0;p=thirdparty%2Fsquid.git Fix return value of ConfigParser::strtokFile() --- diff --git a/src/ConfigParser.cc b/src/ConfigParser.cc index a4e3ffcb86..ac12c2d304 100644 --- a/src/ConfigParser.cc +++ b/src/ConfigParser.cc @@ -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_