]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix missing stub changes in rev.13693
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 19 Nov 2014 12:09:05 +0000 (04:09 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 19 Nov 2014 12:09:05 +0000 (04:09 -0800)
  Detected by Coverity Scan. CID 12550451255046

src/tests/stub_HelperChildConfig.cc

index 2b2ea181122f9eab2ee83dfe9113298b91d5c2b7..d1ca3fc31594887d65bf774fdbb8958d26a01de8 100644 (file)
@@ -21,7 +21,9 @@ Helper::ChildConfig::ChildConfig():
         n_idle(1),
         concurrency(0),
         n_running(0),
-        n_active(0)
+        n_active(0),
+        queue_size(0),
+        defaultQueueSize(true)
 {}
 
 Helper::ChildConfig::ChildConfig(const unsigned int m):
@@ -30,7 +32,9 @@ Helper::ChildConfig::ChildConfig(const unsigned int m):
         n_idle(1),
         concurrency(0),
         n_running(0),
-        n_active(0)
+        n_active(0),
+        queue_size(2 * m),
+        defaultQueueSize(true)
 {}
 
 int