From: <st...@us...> - 2014-02-13 09:59:10
|
Revision: 7434 http://sourceforge.net/p/xymon/code/7434 Author: storner Date: 2014-02-13 09:59:01 +0000 (Thu, 13 Feb 2014) Log Message: ----------- r7433 from 4.3: DOWNTIME handling: Set valid starttime if new statusrecord is created while downtime is active. Display multi-test DOWNTIME setting correctly on info page Revision Links: -------------- http://sourceforge.net/p/xymon/code/7433 Modified Paths: -------------- trunk/lib/timefunc.c trunk/xymond/xymond.c Modified: trunk/lib/timefunc.c =================================================================== --- trunk/lib/timefunc.c 2014-02-13 09:58:18 UTC (rev 7433) +++ trunk/lib/timefunc.c 2014-02-13 09:59:01 UTC (rev 7434) @@ -122,6 +122,8 @@ oneday = days; + if (STRBUFLEN(result) > 0) addtobuffer(result, "<br>"); + while (!daysdone) { switch (*oneday) { case '*': dtext = "All days"; break; Modified: trunk/xymond/xymond.c =================================================================== --- trunk/xymond/xymond.c 2014-02-13 09:58:18 UTC (rev 7433) +++ trunk/xymond/xymond.c 2014-02-13 09:59:01 UTC (rev 7434) @@ -1228,6 +1228,7 @@ if (createlog && (lwalk == NULL)) { lwalk = (xymond_log_t *)calloc(1, sizeof(xymond_log_t)); lwalk->lastchange = (time_t *)calloc((flapcount > 0) ? flapcount : 1, sizeof(time_t)); + lwalk->lastchange[0] = getcurrenttime(NULL); lwalk->color = lwalk->oldcolor = NO_COLOR; lwalk->host = hwalk; lwalk->test = twalk; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |