Index: plugins/check_ntp.c =================================================================== RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_ntp.c,v retrieving revision 1.13 diff -u -r1.13 check_ntp.c --- plugins/check_ntp.c 28 Jan 2007 21:46:40 -0000 1.13 +++ plugins/check_ntp.c 29 Mar 2007 11:33:26 -0000 @@ -590,7 +590,8 @@ if(verbose) { printf("parsing jitter from peer %.2x: ", peers[i].assoc); } - startofvalue = strchr(req.data, '=') + 1; + startofvalue = strchr(req.data, '='); + if(startofvalue != NULL) startofvalue++; if(startofvalue != NULL) { jitter = strtod(startofvalue, &nptr); }