]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorSource Maintenance <squidadm@squid-cache.org>
Tue, 26 May 2015 18:12:08 +0000 (18:12 +0000)
committerSource Maintenance <squidadm@squid-cache.org>
Tue, 26 May 2015 18:12:08 +0000 (18:12 +0000)
doc/debug-sections.txt
src/HttpHdrSc.cc
src/clients/FtpClient.cc
src/clients/FtpGateway.cc
src/servers/FtpServer.cc
src/urn.cc

index 5bcf776fe1344a6401632e8ed95134f14926ad48..e444791c9769876f216580534b365edbd22071e1 100644 (file)
@@ -107,7 +107,6 @@ section 56    HTTP Message Body
 section 57    HTTP Status-line
 section 58    HTTP Reply (Response)
 section 59    auto-growing Memory Buffer with printf
-section 60    Packer: A uniform interface to store-like modules
 section 61    Redirector
 section 62    Generic Histogram
 section 63    Low Level Memory Pool Management
index e233bb47c6e4cf40e6c67c2ea60dab6181557f2c..f3bbb1768fb35337fb465c69eb8f8e10627463a7 100644 (file)
@@ -246,7 +246,7 @@ HttpHdrScTarget::packInto(Packable * p) const
 
             /* print option name */
             p->appendf((pcount ? ", " SQUIDSTRINGPH : SQUIDSTRINGPH),
-                         SQUIDSTRINGPRINT(ScFieldsInfo[flag].name));
+                       SQUIDSTRINGPRINT(ScFieldsInfo[flag].name));
 
             /* handle options with values */
 
index 00caa63abbb759c817e0835c31e64aa264eddd8b..7221af612662b60dcdc625488ecde6310ee4d06a 100644 (file)
@@ -588,9 +588,9 @@ Ftp::Client::sendEprt()
     /* Which can be used by EITHER protocol. */
     debugs(9, 3, "Listening for FTP data connection on port" << comm_local_port(data.conn->fd) << " or port?" << data.conn->local.port());
     mb.appendf("EPRT |%d|%s|%d|%s",
-              ( data.conn->local.isIPv6() ? 2 : 1 ),
-              data.conn->local.toStr(buf,MAX_IPSTRLEN),
-              comm_local_port(data.conn->fd), Ftp::crlf );
+               ( data.conn->local.isIPv6() ? 2 : 1 ),
+               data.conn->local.toStr(buf,MAX_IPSTRLEN),
+               comm_local_port(data.conn->fd), Ftp::crlf );
 
     state = SENT_EPRT;
     writeCommand(mb.content());
index 97f3391d4627f0ba42ee14e0076b36d7468eab84..24ff31b96519502f6c9590d6e99eea9a75bca748 100644 (file)
@@ -871,17 +871,17 @@ Ftp::Gateway::htmlifyListEntry(const char *line)
     html = new MemBuf();
     html->init();
     html->appendf("<tr class=\"entry\">"
-                 "<td class=\"icon\"><a href=\"%s%s\">%s</a></td>"
-                 "<td class=\"filename\"><a href=\"%s%s\">%s</a></td>"
-                 "<td class=\"date\">%s</td>"
-                 "<td class=\"size\">%s</td>"
-                 "<td class=\"actions\">%s%s%s%s</td>"
-                 "</tr>\n",
-                 prefix, href, icon,
-                 prefix, href, html_quote(text),
-                 parts->date,
-                 size,
-                 chdir, view, download, link);
+                  "<td class=\"icon\"><a href=\"%s%s\">%s</a></td>"
+                  "<td class=\"filename\"><a href=\"%s%s\">%s</a></td>"
+                  "<td class=\"date\">%s</td>"
+                  "<td class=\"size\">%s</td>"
+                  "<td class=\"actions\">%s%s%s%s</td>"
+                  "</tr>\n",
+                  prefix, href, icon,
+                  prefix, href, html_quote(text),
+                  parts->date,
+                  size,
+                  chdir, view, download, link);
 
     ftpListPartsFree(&parts);
     return html;
index 98a71d10ec8e4a9546f341789c8a7aef176979c8..cfc737b126c428d80b282b1b9b9eb9268f230f62 100644 (file)
@@ -893,9 +893,9 @@ Ftp::Server::handlePasvReply(const HttpReply *reply, StoreIOBuffer)
     MemBuf mb;
     mb.init();
     mb.appendf("227 Entering Passive Mode (%s,%i,%i).\r\n",
-              addr,
-              static_cast<int>(localPort / 256),
-              static_cast<int>(localPort % 256));
+               addr,
+               static_cast<int>(localPort / 256),
+               static_cast<int>(localPort % 256));
     debugs(9, 3, Raw("writing", mb.buf, mb.size));
     writeReply(mb);
 }
@@ -1085,8 +1085,8 @@ Ftp::Server::writeErrorReply(const HttpReply *reply, const int scode)
     if (request->errDetail > 0) {
         // XXX: > 0 may not always mean that this is an errno
         mb.appendf("%i-Error: (%d) %s\r\n", scode,
-                  request->errDetail,
-                  strerror(request->errDetail));
+                   request->errDetail,
+                   strerror(request->errDetail));
     }
 
 #if USE_ADAPTATION
@@ -1204,7 +1204,7 @@ Ftp::PrintReply(MemBuf &mb, const HttpReply *reply, const char *const)
     if (header.has(HDR_FTP_STATUS)) {
         const char *reason = header.getStr(HDR_FTP_REASON);
         mb.appendf("%i %s\r\n", header.getInt(HDR_FTP_STATUS),
-                  (reason ? reason : 0));
+                   (reason ? reason : 0));
     }
 }
 
index 20a08d7070d365e9851c4354bc57516e1178c03d..2bfa4647bf05d82255b0b981048747753e30e170 100644 (file)
@@ -368,9 +368,9 @@ urnHandleReply(void *data, StoreIOBuffer result)
     mb = new MemBuf;
     mb->init();
     mb->appendf( "<TITLE>Select URL for %s</TITLE>\n"
-                "<STYLE type=\"text/css\"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}--></STYLE>\n"
-                "<H2>Select URL for %s</H2>\n"
-                "<TABLE BORDER=\"0\" WIDTH=\"100%%\">\n", e->url(), e->url());
+                 "<STYLE type=\"text/css\"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}--></STYLE>\n"
+                 "<H2>Select URL for %s</H2>\n"
+                 "<TABLE BORDER=\"0\" WIDTH=\"100%%\">\n", e->url(), e->url());
 
     for (i = 0; i < urlcnt; ++i) {
         u = &urls[i];