[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Compile Issue with latest SVN version of 4.3.0
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Compile Issue with latest SVN version of 4.3.0
- From: Iain M Conochie <iain (at) shihad.org>
- Date: Tue, 01 Dec 2009 11:47:42 +0000
- References: <4B0FC4BE.8050009 (at) shihad.org> <20091127180447.270100 (at) gmx.net> <20091127181653.270090 (at) gmx.net> <20091127184510.270100 (at) gmx.net>
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
>