]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Sun, 2 Dec 2012 01:13:09 +0000 (18:13 -0700)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Sun, 2 Dec 2012 01:13:09 +0000 (18:13 -0700)
src/adaptation/icap/Xaction.cc

index 8ff7537e6f6a8fd58e4f9c8ef82a550b02c23759..34238f260d92755f18c7d6e0f30c74668af86604 100644 (file)
@@ -511,12 +511,11 @@ void Adaptation::Icap::Xaction::setOutcome(const Adaptation::Icap::XactOutcome &
 void Adaptation::Icap::Xaction::swanSong()
 {
     // kids should sing first and then call the parent method.
-    if (cs)
-    {
-       debugs(93,6, HERE << id << " about to notify ConnOpener!");
-       CallJobHere(93, 3, cs, Comm::ConnOpener, noteAbort);
-       cs = NULL;
-       service().noteConnectionFailed("abort");
+    if (cs) {
+        debugs(93,6, HERE << id << " about to notify ConnOpener!");
+        CallJobHere(93, 3, cs, Comm::ConnOpener, noteAbort);
+        cs = NULL;
+        service().noteConnectionFailed("abort");
     }
 
     closeConnection(); // TODO: rename because we do not always close