xymon

Check-in [4312bca79d]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix OpenBSD or dietlibc building, via Mark Felder git-svn-id: http://svn.code.sf.net/p/xymon/code/branches/4.3.19@7585 44351d6e-118b-4698-b696-ce33095ecaa4
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | origin/4.3.19
Files: files | file ages | folders
SHA3-256: 4312bca79d89c09e82e49ce6b367e014fb4e86f7a8ca3ad4da925ae9fdf839f6
User & Date: jccleaver@users.sf.net 2015-02-25 03:49:26
Context
2015-02-25
20:17
Add EXTIME= options for analysis and alert rules git-svn-id: http://svn.code.sf.net/p/xymon/code/branches/4.3.19@7588 44351d6e-118b-4698-b696-ce33095ecaa4 check-in: ee632ae4db user: jccleaver@users.sf.net tags: trunk, origin/4.3.19
03:49
Fix OpenBSD or dietlibc building, via Mark Felder git-svn-id: http://svn.code.sf.net/p/xymon/code/branches/4.3.19@7585 44351d6e-118b-4698-b696-ce33095ecaa4 check-in: 4312bca79d user: jccleaver@users.sf.net tags: trunk, origin/4.3.19
2015-02-20
03:23
Apache doesn't like comments there git-svn-id: http://svn.code.sf.net/p/xymon/code/branches/4.3.19@7583 44351d6e-118b-4698-b696-ce33095ecaa4 check-in: 3611c1053a user: jccleaver@users.sf.net tags: trunk, origin/4.3.19
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to lib/sendmsg.c.

602
603
604
605
606
607
608



609

610
611
612
613
614
615
616
{
        close_feedback_queue(backfeedqueue, CHAN_CLIENT);
}

sendresult_t sendmessage_local(char *msg)
{
	int n, done = 0;



	msglen_t msglen;


	if (backfeedqueue == -1) {
		return sendmessage(msg, NULL, XYMON_TIMEOUT, NULL);
	}

	/* Make sure we dont overflow the message buffer */
	msglen = strlen(msg);







>
>
>
|
>







602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
{
        close_feedback_queue(backfeedqueue, CHAN_CLIENT);
}

sendresult_t sendmessage_local(char *msg)
{
	int n, done = 0;
	#if defined(__OpenBSD__) || defined(__dietlibc__)
		unsigned long msglen;
	#else
		msglen_t msglen;
	#endif

	if (backfeedqueue == -1) {
		return sendmessage(msg, NULL, XYMON_TIMEOUT, NULL);
	}

	/* Make sure we dont overflow the message buffer */
	msglen = strlen(msg);