]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix Ftp::Gateway::ServerStateData::savedReply initialization inside Ftp::Gateway...
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Thu, 29 May 2014 17:03:46 +0000 (20:03 +0300)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Thu, 29 May 2014 17:03:46 +0000 (20:03 +0300)
Ftp::Gateway::ServerStateData::savedReply::messages is a wordlist not a boolean

src/FtpGatewayServer.cc

index b9cefc753b3df28a9032f475efa7261223782577..dbb4a6471e46ac8ecfcb531d0d52a05fe3499cba 100644 (file)
@@ -120,7 +120,7 @@ ServerStateData::ServerStateData(FwdState *const fwdState):
     AsyncJob("Ftp::Gateway::ServerStateData"), Ftp::ServerStateData(fwdState),
     forwardingCompleted(false)
 {
-    savedReply.message = false;
+    savedReply.message = NULL;
     savedReply.lastCommand = NULL;
     savedReply.lastReply = NULL;
     savedReply.replyCode = 0;