]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Client-side bandwidth limit (a.k.a., quota or delay pool) implementation.
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Mon, 25 Oct 2010 21:49:58 +0000 (00:49 +0300)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Mon, 25 Oct 2010 21:49:58 +0000 (00:49 +0300)
Put fde::clientInfo initialization inside an "#if DELAY_POOLS/#endif" to allow
squid compile when delay pools are disabled

src/fde.h

index 52535d1445eaafae9045d9143b7dac9484ccb626..d73f387fb01b24cf1a50ea0eafbbe85a497724ae 100644 (file)
--- a/src/fde.h
+++ b/src/fde.h
@@ -146,7 +146,9 @@ private:
         bytes_written = 0;
         pconn.uses = 0;
         pconn.pool = NULL;
+#if DELAY_POOLS
         clientInfo = NULL;
+#endif
         epoll_state = 0;
         memset(&disk, 0, sizeof(_fde_disk));
         read_handler = NULL;