Xymon Mailing List Archive search

Compile Issue with latest SVN version of 4.3.0

list Iain M Conochie
Tue, 01 Dec 2009 11:47:42 +0000
Message-Id: <user-2464c3764b06@xymon.invalid>

On Fri, 2009-11-27 at 19:45 +0100, Malcolm Hunter wrote:
Any Ideas?
It's a typo - plusminuts should be plusminus.
Actually the code looks a bit buggy because if the result of the first
"if":
if (strstr(msgcopy, "ntpdate") != NULL) {
is true then char *offset won't be declared and could lead to a runtime
error in the second "if" statement:
if (offsetval) {
Correction: it still doesn't compile. I suspect "offset" on line 131 should be "offsetval".
Thanks Malcolm. That compiles now :)

Cheers

Iain
Malcolm