From: Alex Rousskov Date: Wed, 16 Apr 2014 21:22:12 +0000 (-0600) Subject: Fixed syntax error in r13155 "Support libecap v1.0". X-Git-Tag: SQUID_3_5_0_1~287 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd3f5eacf04c364a3d9cbc794f9fc6c278ad0b6a;p=thirdparty%2Fsquid.git Fixed syntax error in r13155 "Support libecap v1.0". No idea why only some compilers detect this error. --- diff --git a/src/adaptation/ecap/ServiceRep.cc b/src/adaptation/ecap/ServiceRep.cc index 2c50e5b7df..c567dc1303 100644 --- a/src/adaptation/ecap/ServiceRep.cc +++ b/src/adaptation/ecap/ServiceRep.cc @@ -101,7 +101,7 @@ int Adaptation::Ecap::Engine::checkEvents(int) { // Start with the default I/O loop timeout, convert from milliseconds. - static const struct timeval maxTimeout { + static const struct timeval maxTimeout = { EVENT_LOOP_TIMEOUT/1000, // seconds (EVENT_LOOP_TIMEOUT % 1000)*1000 }; // microseconds