[hobbit] bbgen frequent yellow alerts - hobbitd problem?

Henrik Stoerner henrik at hswn.dk
Mon Nov 6 17:33:19 CET 2006


Oops - one line too many among those extra ones I sent you:

On Mon, Nov 06, 2006 at 05:29:59PM +0100, Henrik Stoerner wrote:

> I'd like you to add 8 lines between these two:
> 
> 	n = recv(sockfd, recvbuf, sizeof(recvbuf)-1, 0);
> 	if (n < 0) {
> 		dbgprintf("recv() returned error: %s\n", strerror(errno));
> 		if (errno == EAGAIN) continue; 
> 	}
> 	if (n == 0) {
> 		dbgprintf("recv() gave us 0 bytes\n");
> 		continue;
                ^^^^^^^^^ dont put this "continue" line in there.


Regards,
Henrik




More information about the Xymon mailing list