]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Source Format Enforcement (#244)
authorsquidadm <squidadm@users.noreply.github.com>
Mon, 9 Jul 2018 09:15:57 +0000 (09:15 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Tue, 10 Jul 2018 07:57:51 +0000 (07:57 +0000)
src/SquidConfig.h
src/anyp/Uri.cc
src/clients/FtpGateway.cc
src/esi/Esi.cc
src/snmp/Session.cc

index 4ae4661054a56637850d8531c23135655f5de31e..d99dd629418751412c48b5c1fa931465119ea2a3 100644 (file)
@@ -28,8 +28,8 @@
 #if USE_OPENSSL
 #include "ssl/support.h"
 #endif
-#include "store/forward.h"
 #include "store/Disk.h"
+#include "store/forward.h"
 
 #if USE_OPENSSL
 class sslproxy_cert_sign;
index 30af7eedaf85b92fbe808e8a1038bef99798e168..f2c2b222a0a3cf51aea4787a71cfcde5ab511137 100644 (file)
@@ -445,11 +445,11 @@ AnyP::Uri::parse(const HttpRequestMethod& method, const char *url)
 /// Update the URL object with parsed URI data.
 void
 AnyP::Uri::parseFinish(const AnyP::ProtocolType protocol,
-                 const char *const protoStr, // for unknown protocols
-                 const char *const aUrlPath,
-                 const char *const aHost,
-                 const SBuf &aLogin,
-                 const int aPort)
+                       const char *const protoStr, // for unknown protocols
+                       const char *const aUrlPath,
+                       const char *const aHost,
+                       const SBuf &aLogin,
+                       const int aPort)
 {
     setScheme(protocol, protoStr);
     path(aUrlPath);
index 65f5bfaf6023418e0fa3d48ecf1a0257fe77fd95..d58d926750f8026cfab31253e919cd4e8a8ca62b 100644 (file)
@@ -868,12 +868,12 @@ Ftp::Gateway::htmlifyListEntry(const char *line, PackableStream &html)
 
     /* construct the table row from parts. */
     html << "<tr class=\"entry\">"
-            "<td class=\"icon\"><a href=\"" << href << "\">" << icon << "</a></td>"
-            "<td class=\"filename\"><a href=\"" << href << "\">" << html_quote(text.c_str()) << "</a></td>"
-            "<td class=\"date\">" << parts->date << "</td>"
-            "<td class=\"size\">" << size << "</td>"
-            "<td class=\"actions\">" << chdir << view << download << link << "</td>"
-            "</tr>\n";
+         "<td class=\"icon\"><a href=\"" << href << "\">" << icon << "</a></td>"
+         "<td class=\"filename\"><a href=\"" << href << "\">" << html_quote(text.c_str()) << "</a></td>"
+         "<td class=\"date\">" << parts->date << "</td>"
+         "<td class=\"size\">" << size << "</td>"
+         "<td class=\"actions\">" << chdir << view << download << link << "</td>"
+         "</tr>\n";
 
     ftpListPartsFree(&parts);
     return true;
index 195327063f09f008d3c3d2f8a384e2ec3b56474d..cba2ed979fec072c2281b7f410330f47202d2869 100644 (file)
@@ -1985,7 +1985,6 @@ FinishAllElements(Esi::Elements &elements)
         FinishAnElement(element, pos++);
 }
 
-
 void
 esiChoose::finish()
 {
index 2690989beedbdc011db2a0daccb4eabbaf6923c8..79c95914a1e6cdec89e7aa36f67950839c478d52 100644 (file)
@@ -14,7 +14,6 @@
 #include "snmp/Session.h"
 #include "tools.h"
 
-
 Snmp::Session::Session()
 {
     memset(static_cast<snmp_session *>(this), 0, sizeof(snmp_session));