nginx plugin: Use strcmp rather than strcpy to compare strings.
authorSaulius Grigaliunas <saulius.grigaliunas@gmail.com>
Thu, 13 Dec 2007 06:58:51 +0000 (07:58 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Thu, 13 Dec 2007 06:58:51 +0000 (07:58 +0100)
commit21d3ac6f9cfee60d261cda30b6ec71b3c496f8b7
treecfd97b3286f2e2050af059d72fe37c2416d61ecc
parent77dfe1e6d120e139933112966803d67c9a1ff8e5
nginx plugin: Use strcmp rather than strcpy to compare strings.

I believe I found a typo in nginx.c which prevents collectd with nginx plugin
from working. Collectd segfaults at startup. Here is a tiny patch to correct
the issue. When applied, everything works as expected.

Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/nginx.c