]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Port 37 (RFC 738) style times are supposed to be a 32 bit time since
authorDavid Malone <dwmalone@FreeBSD.org>
Mon, 17 Apr 2006 18:35:58 +0000 (18:35 +0000)
committerDavid Malone <dwmalone@FreeBSD.org>
Mon, 17 Apr 2006 18:35:58 +0000 (18:35 +0000)
commite90fa6a9379dbf72fb237bd9865975231a57c287
treec6feecdb4fb2b7f40a4df9fecf1e2178c94ec43c
parent0f180a7cce5bed801060557dd5bdbad64318d3c6
Port 37 (RFC 738) style times are supposed to be a 32 bit time since
1900 in network byte order. Use a uint32_t to calculate and send
the time, so that we don't need to know how big ints or longs are.

I used uint32_t instead of int in the patch, on the off chance
someone uses our inetd source on a system that doesnt 32 bit ints.

PR: 95290
Submitted by: Bruce Becker <hostmaster@whois.gts.net>
MFC after: 2 weeks
usr.sbin/inetd/Makefile
usr.sbin/inetd/builtins.c