summaryrefslogtreecommitdiff
path: root/news/slurp/files/patch-ah
blob: 0343dd5ff1572529b8345b874ed2d4cc4e86c1d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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) +