author | Wojtek <wojtek@gni.pl> | |
Fri, 1 Dec 2006 08:13:57 +0000 (09:13 +0100) | ||
committer | Florian Forster <octo@verplant.org> | |
Fri, 1 Dec 2006 08:15:41 +0000 (09:15 +0100) | ||
commit | c337c0f22c1961d8effac22c9e499d829280e3d2 | |
tree | 3df8957ceb0069a66f1024a42c62879ff26aaf5c | tree | snapshot |
parent | 09b7862b4e208d0e0b16736ff93bec45e03996fa | commit | diff |
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.
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 | diff | blob | history |