]> git.ipfire.org Git - thirdparty/squid.git/commit
Prevent assertion on startup with --enable-replacement-policies
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 25 Apr 2010 06:58:26 +0000 (18:58 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 25 Apr 2010 06:58:26 +0000 (18:58 +1200)
commitd64c14983d97a25f33989b197d1fd378eb6f2b1e
tree214a6fbce23d3204ad2b0fb2a6eab830590a4e62
parentbd8d3feb363e31126c3abced500e4f1cabb8d370
Prevent assertion on startup with --enable-replacement-policies

Option without specific policies listed was asserting on a double-add
for the LRU module.

This just makes duplicate additions a no-op and non-fatal.
No attempt at a cleanup yet.

TODO: sync the repl_modules.cc code with the other dynamic modules init.
src/Makefile.am
src/store.cc