[liboping] Bug in `ping_host_remove'
Florian Forster
octo<span style="display: none;">.trailing-username</span>(a)<span style="display: none;">leading-domain.</span>verplant.org
Fri Dec 1 10:24:56 CET 2006
Hello Wojtek,
On Thu, Nov 30, 2006 at 10:08:38PM +0100, Wojtek wrote:
> I'm using your libopng and it is very usefull but I found small bug in
> the function ping_host_remove.
>
> Now you will find:
> ...
> if (strcasecmp(host, cur->hostname))
> break;
> ...
> and should be
> ...
> if (strcasecmp(host, cur->hostname)==0)
> break;
> ...
>
> Without this fix it is not possible to remove all hosts in the list.
thanks for reporting this bug :) It's fixed in version 0.3.4 which I've
just uploaded.
Regards,
-octo
--
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/liboping/attachments/20061201/9b3f39a1/attachment.pgp
More information about the liboping
mailing list