Fwd: Problem with msgcache ... (and Fix!)

Rolf Masfelder rolf.masfelder at nector.de
Tue Sep 19 22:41:33 CEST 2006


Hello Henrik,

because there are others which can't reach you via private mail, I send 
you this info thru the list.

Thanx for your great work

Rolf

----------  Weitergeleitete Nachricht  ----------

Subject: Problem with msgcache ... (and Fix!)
Date: Freitag 15 September 2006 10:42
From: Rolf Masfelder <rolf.masfelder at nector.de>
To: Henrik Stoerner <henrik at hswn.dk>

Hello Henrik,

in msgcache.c is a problem if a second (or third or ...) connection at
the same time is stored in your connection-list.

so (line 443):

		if (!chead) ctail = NULL;

should be replaced with :

                ctail = chead;
                if (ctail) { while (ctail->next) ctail = ctail->next; }

to store a new connection at the end of the list (you handle the
message-queue  in the same way).

Thanx for the great work
--
Rolf Masfelder

Tel.:	06321 355 207
FAX:	06321 355 224
Mobil:	0160 80 64 181
world:	0700 NECTORGMbh
EMail: 	rolf.masfelder at nector.de

http://www.nector.de

-------------------------------------------------------

-- 
Rolf Masfelder

Tel.:	06321 355 207
FAX:	06321 355 224
Mobil:	0160 80 64 181
world:	0700 NECTORGMbh
EMail: 	rolf.masfelder at nector.de

http://www.nector.de



More information about the Xymon mailing list