From: Automatic source maintenance Date: Wed, 20 Aug 2014 00:14:39 +0000 (-0600) Subject: SourceFormat Enforcement X-Git-Tag: SQUID_3_5_0_1~109 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74d4eef61f514dcca3a508bbf0b3c79edd04b110;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- diff --git a/src/servers/FtpServer.cc b/src/servers/FtpServer.cc index 1df6be884d..484336f3f6 100644 --- a/src/servers/FtpServer.cc +++ b/src/servers/FtpServer.cc @@ -591,7 +591,7 @@ Ftp::Server::earlyError(const EarlyErrorKind eek) errUri = "error:ftp-malformed-command"; break; - // no default so that a compiler can check that we have covered all cases + // no default so that a compiler can check that we have covered all cases } ClientSocketContext *context = abortRequestParsing(errUri); @@ -647,8 +647,8 @@ Ftp::Server::parseOneRequest(Http::ProtocolVersion &ver) // Why limit command line and parameters size? Did not we just parse them? // XXX: Our good old String cannot handle very long strings. const SBuf::size_type tokenMax = min( - static_cast(32*1024), // conservative - static_cast(Config.maxRequestHeaderSize)); + static_cast(32*1024), // conservative + static_cast(Config.maxRequestHeaderSize)); if (cmd.length() > tokenMax || params.length() > tokenMax) { changeState(fssError, "huge req token"); quitAfterError(NULL);