------------------------------------------------------------ revno: 13358 revision-id: rousskov@measurement-factory.com-20140416212212-fef1tf8qqs7piz8h parent: chtsanti@users.sourceforge.net-20140416174017-yr8ez21l6nzthamz committer: Alex Rousskov branch nick: trunk timestamp: Wed 2014-04-16 15:22:12 -0600 message: Fixed syntax error in r13155 "Support libecap v1.0". No idea why only some compilers detect this error. ------------------------------------------------------------ # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: rousskov@measurement-factory.com-20140416212212-\ # fef1tf8qqs7piz8h # target_branch: http://bzr.squid-cache.org/bzr/squid3/trunk/ # testament_sha1: 2433307d2db07f213a84e1a8f7e83a990432ec12 # timestamp: 2014-04-16 21:53:41 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/trunk/ # base_revision_id: chtsanti@users.sourceforge.net-20140416174017-\ # yr8ez21l6nzthamz # # Begin patch === modified file 'src/adaptation/ecap/ServiceRep.cc' --- src/adaptation/ecap/ServiceRep.cc 2014-02-21 10:46:19 +0000 +++ src/adaptation/ecap/ServiceRep.cc 2014-04-16 21:22:12 +0000 @@ -101,7 +101,7 @@ 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