Hi Benoit, hi martin,
On Wednesday 01 November 2006 22:44, sean finney wrote:
> after looking closer at the bug, it seems this is already fixed in the
> version of nagios-plugins in testing/unstable. any chance you could
> verify that?
I'm closing the bug, since it seems fixed by upsptream long
hi benoit, martin,
after looking closer at the bug, it seems this is already fixed in the
version of nagios-plugins in testing/unstable. any chance you could
verify that?
thanks,
sean
signature.asc
Description: This is a digitally signed message part
Sorry, got it wrong the first time ... The problem was that the
read buffer was not cleared the second time. If we don't do this
we get a completly mess. And second, if read returns one byte,
we need to test this case for beeing '\n' to break out of the loop.
--- check_tcp.c 2004-12-30 01:4
--- ./check_tcp.c2004-12-30 01:41:40.0 +0100
+++ ./check_tcp.c 2006-10-31 11:56:59.0 +0100
@@ -310,7 +310,7 @@
memset (buffer, '\0', MAXBUF);
/* watch for the expect string */
while ((i = my_recv ()) > 0) {
-
4 matches
Mail list logo