author | Saulius Grigaliunas <saulius.grigaliunas@gmail.com> | |
Thu, 13 Dec 2007 06:58:51 +0000 (07:58 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Thu, 13 Dec 2007 06:58:51 +0000 (07:58 +0100) | ||
commit | 21d3ac6f9cfee60d261cda30b6ec71b3c496f8b7 | |
tree | cfd97b3286f2e2050af059d72fe37c2416d61ecc | tree | snapshot |
parent | 77dfe1e6d120e139933112966803d67c9a1ff8e5 | commit | diff |
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>
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 | diff | blob | history |