xymon

Check-in [4d7df4f28f]
Login

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

Overview
Comment:Schedule missing nl fix, via Larry Bonham git-svn-id: http://svn.code.sf.net/p/xymon/code/branches/4.3.19@7582 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: 4d7df4f28f9ee9a0c110170ef1015c66d908236969358944f8787afa28b95e58
User & Date: jccleaver@users.sf.net 2015-02-20 00:38:25
Context
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
00:38
Schedule missing nl fix, via Larry Bonham git-svn-id: http://svn.code.sf.net/p/xymon/code/branches/4.3.19@7582 44351d6e-118b-4698-b696-ce33095ecaa4 check-in: 4d7df4f28f user: jccleaver@users.sf.net tags: trunk, origin/4.3.19
2015-02-19
15:04
adjust default variable to match configured git-svn-id: http://svn.code.sf.net/p/xymon/code/branches/4.3.19@7581 44351d6e-118b-4698-b696-ce33095ecaa4 check-in: a2b00f492b user: jccleaver@users.sf.net tags: trunk, origin/4.3.19
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to xymond/xymond.c.

4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
		if (strlen(cmd) == 0) {
			strbuffer_t *response = newstrbuffer(0);
			scheduletask_t *swalk;
			char tbuf[50];

			for (swalk = schedulehead; (swalk); swalk = swalk->next) {
				snprintf(tbuf, sizeof(tbuf), "%d|%d", swalk->id, (int)swalk->executiontime);
				addtobuffer_many(response, tbuf, "|", swalk->sender, "|", nlencode(swalk->command), NULL);
			}

			xfree(msg->buf);
			msg->doingwhat = RESPONDING;
			msg->buflen = STRBUFLEN(response);
			msg->bufp = msg->buf = grabstrbuffer(response);
		}







|







4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
		if (strlen(cmd) == 0) {
			strbuffer_t *response = newstrbuffer(0);
			scheduletask_t *swalk;
			char tbuf[50];

			for (swalk = schedulehead; (swalk); swalk = swalk->next) {
				snprintf(tbuf, sizeof(tbuf), "%d|%d", swalk->id, (int)swalk->executiontime);
				addtobuffer_many(response, tbuf, "|", swalk->sender, "|", nlencode(swalk->command), "\n", NULL);
			}

			xfree(msg->buf);
			msg->doingwhat = RESPONDING;
			msg->buflen = STRBUFLEN(response);
			msg->bufp = msg->buf = grabstrbuffer(response);
		}