Fix usage of `strcasecmp' in `ping_host_remove'.
authorWojtek <wojtek@gni.pl>
Fri, 1 Dec 2006 08:13:57 +0000 (09:13 +0100)
committerFlorian Forster <octo@verplant.org>
Fri, 1 Dec 2006 08:15:41 +0000 (09:15 +0100)
commitc337c0f22c1961d8effac22c9e499d829280e3d2
tree3df8957ceb0069a66f1024a42c62879ff26aaf5c
parent09b7862b4e208d0e0b16736ff93bec45e03996fa
Fix usage of `strcasecmp' in `ping_host_remove'.

The compare function needs to be checked wether it returns zero. Without this
fix the first host is being removed unless it's the host being looked for.
That is obviously not good nor correct.
src/liboping.c