1 Dec
2009
1 Dec
'09
11:47 a.m.
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