]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Mon, 19 Nov 2012 01:22:14 +0000 (18:22 -0700)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Mon, 19 Nov 2012 01:22:14 +0000 (18:22 -0700)
src/icmp/pinger.cc
src/tools.cc

index c5f7eaa5f35e68f3caf9417e263d0a30909485c4..faed28fa3c553e1dd89496a6331ae9362d5ef72a 100644 (file)
@@ -183,7 +183,7 @@ main(int argc, char *argv[])
         debugs(42, DBG_CRITICAL, "FATAL: pinger: setgid(" << getgid() << ") failed: " << xstrerror());
         icmp4.Close();
         icmp6.Close();
-       exit (1);
+        exit (1);
     }
     if (setuid(getuid()) < 0) {
         debugs(42, DBG_CRITICAL, "FATAL: pinger: setuid(" << getuid() << ") failed: " << xstrerror());
index 806891025bae890c3c8263520560660332d0c02a..b6c27dbf72b949408db26bf8c243f3d940cda741 100644 (file)
@@ -706,7 +706,7 @@ enter_suid(void)
     debugs(21, 3, "enter_suid: PID " << getpid() << " taking root privileges");
 #if HAVE_SETRESUID
     if (setresuid((uid_t)-1, 0, (uid_t)-1) < 0)
-       debugs (21, 3, "enter_suid: setresuid failed: " << xstrerror ());
+        debugs (21, 3, "enter_suid: setresuid failed: " << xstrerror ());
 #else
 
     setuid(0);
@@ -732,7 +732,7 @@ no_suid(void)
     debugs(21, 3, "no_suid: PID " << getpid() << " giving up root priveleges forever");
 
     if (setuid(0) < 0)
-       debugs(50, DBG_IMPORTANT, "WARNING: no_suid: setuid(0): " << xstrerror());
+        debugs(50, DBG_IMPORTANT, "WARNING: no_suid: setuid(0): " << xstrerror());
 
     if (setuid(uid) < 0)
         debugs(50, DBG_IMPORTANT, "ERROR: no_suid: setuid(" << uid << "): " << xstrerror());