Integrated patch from Brian Utterback. <hart@ntp.org>
* [Bug 2525] Turn on automake subdir-objects across the project. <hart@ntp.org>
* [Bug 2410] syslog an error message on panic exceeded. <brian.utterback@oracle.com>
-* Disable "embedded NUL in string" messages in libopts, when we can. <stenn@>
+* Use recv_buffer instead of the longer recv_space.X_recv_buffer.
+* Disable "embedded NUL in string" warnings in libopts, when we can. <stenn@>
* Use https in the AC_INIT URLs in configure.ac. <stenn@ntp.org>
* Implement NTP_FUNC_REALPATH. <stenn@ntp.org>
* Lose a gmake construct in ntpd/Makefile.am. <stenn@ntp.org>
}
/* Below I trying to find a correct reply in buffer.
- * Sometime GPS reply located in the beginnig of buffer,
+ * Sometime GPS reply located in the beginning of buffer,
* sometime you can find it with some offset.
*/
- bpt = (char *)rbufp->recv_space.X_recv_buffer;
+ bpt = (char *)rbufp->recv_buffer;
while (*bpt != '\x10')
bpt++;
return;
}
- memcpy(buf+p, rbufp->recv_space.X_recv_buffer, rbufp->recv_length);
+ memcpy(buf+p, rbufp->recv_buffer, rbufp->recv_length);
p += rbufp->recv_length;
if ( p >= 2