=== modified file 'src/Server.cc'
--- src/Server.cc	2013-03-18 04:55:51 +0000
+++ src/Server.cc	2013-07-25 06:22:47 +0000
@@ -699,7 +699,8 @@
         // subscribe to receive adapted body
         adaptedBodySource = rep->body_pipe;
         // assume that ICAP does not auto-consume on failures
-        assert(adaptedBodySource->setConsumerIfNotLate(this));
+        const bool result = adaptedBodySource->setConsumerIfNotLate(this);
+        assert(result);
     } else {
         // no body
         if (doneWithAdaptation()) // we may still be sending virgin response

