mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
4157e9bf24
PR: 13694 Submitted by: James Raynard james@jraynard.demon.co.uk
12 lines
343 B
Plaintext
12 lines
343 B
Plaintext
--- hostfiles.c.orig Sat Sep 11 10:40:33 1999
|
|
+++ hostfiles.c Sat Sep 11 10:42:36 1999
|
|
@@ -166,7 +166,7 @@
|
|
else
|
|
{
|
|
tmtime = gmtime (&nexttime);
|
|
- ndate = (tmtime -> tm_year * 10000) +
|
|
+ ndate = (tmtime -> tm_year%100 * 10000) +
|
|
((tmtime -> tm_mon + 1) * 100) +
|
|
tmtime -> tm_mday;
|
|
ntime = (tmtime -> tm_hour * 10000) +
|