[hobbit] Compile Issue with latest SVN version of 4.3.0

Iain M Conochie iain at shihad.org
Tue Dec 1 12:47:42 CET 2009


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
> 




More information about the Xymon mailing list