]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Regression: compile error in FTP
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 3 Dec 2011 02:46:33 +0000 (19:46 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 3 Dec 2011 02:46:33 +0000 (19:46 -0700)
src/ftp.cc

index 9b4c5cdca7c04449a52f77fe38721e3529b6c0a5..5d4f5cd9a41a2b28b0f9359b77e663ae2ae152e2 100644 (file)
@@ -3121,7 +3121,6 @@ void FtpStateData::ftpAcceptDataConnection(const CommAcceptCbParams &io)
     data.opened(io.nfd, dataCloser());
     data.port = io.details.peer.GetPort();
 
-    static char ntoapeer[MAX_IPSTRLEN];
     io.details.peer.NtoA(ntoapeer,sizeof(ntoapeer));
     data.host = xstrdup(ntoapeer);