]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Tue, 14 Sep 2010 00:12:15 +0000 (18:12 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Tue, 14 Sep 2010 00:12:15 +0000 (18:12 -0600)
src/adaptation/icap/ModXact.cc

index abb3b413298eb6289e33c281da2b014b94677e83..b1d1db08dc35ccebf96622a6c58c3488210f5b7d 100644 (file)
@@ -235,14 +235,13 @@ void Adaptation::Icap::ModXact::decideWritingAfterPreview(const char *kind)
 {
     if (preview.ieof()) // nothing more to write
         stopWriting(true);
-    else
-    if (state.parsing == State::psIcapHeader) // did not get a reply yet
+    else if (state.parsing == State::psIcapHeader) // did not get a reply yet
         state.writing = State::writingPaused; // wait for the ICAP server reply
     else
         stopWriting(true); // ICAP server reply implies no post-preview writing
 
     debugs(93, 6, HERE << "decided on writing after " << kind << " preview" <<
-        status());
+           status());
 }
 
 void Adaptation::Icap::ModXact::writePrimeBody()