]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix 'ftpSendEPRT defined but not used' compile error after patch r14936
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 11 Nov 2016 16:26:54 +0000 (18:26 +0200)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 11 Nov 2016 16:26:54 +0000 (18:26 +0200)
src/clients/FtpGateway.cc

index b843cd3d0f8626717352ee41f8291034e3cbe0cf..1654ca6a9ef0cc9157338dafec81df8d5806b026 100644 (file)
@@ -209,7 +209,9 @@ static FTPSM ftpSendMdtm;
 static FTPSM ftpReadMdtm;
 static FTPSM ftpSendSize;
 static FTPSM ftpReadSize;
+#if 0
 static FTPSM ftpSendEPRT;
+#endif
 static FTPSM ftpReadEPRT;
 static FTPSM ftpSendPORT;
 static FTPSM ftpReadPORT;
@@ -1862,6 +1864,7 @@ ftpReadPORT(Ftp::Gateway * ftpState)
     ftpRestOrList(ftpState);
 }
 
+#if 0
 static void
 ftpSendEPRT(Ftp::Gateway * ftpState)
 {
@@ -1904,6 +1907,7 @@ ftpSendEPRT(Ftp::Gateway * ftpState)
     ftpState->writeCommand(cbuf);
     ftpState->state = Ftp::Client::SENT_EPRT;
 }
+#endif
 
 static void
 ftpReadEPRT(Ftp::Gateway * ftpState)