memcached plugin: Fix backwards compatibility.
authorFlorian Forster <octo@collectd.org>
Sun, 2 Sep 2012 11:25:16 +0000 (13:25 +0200)
committerFlorian Forster <octo@collectd.org>
Sun, 2 Sep 2012 11:25:16 +0000 (13:25 +0200)
commitc3309905dfb77b54e89cbfac5cdad5df0f64bedd
tree9523cf550994ccb2de25543fac6edb1469b79275
parenta7afd4e00c2fe8f070a640a8dccdd3af673c8a2c
memcached plugin: Fix backwards compatibility.

Register a default callback in the init() phase if no configuration is
provided for the plugin. This way doing just "LoadPlugin memcached" will
result in the old behavior i.e. localhost being queried.
src/memcached.c