Christian Grothoff 18 anni fa
parent
commit
e55b6e9d4f
2 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 1 0
      AUTHORS
  2. 1 1
      src/daemon/connection.c

+ 1 - 0
AUTHORS

@@ -5,6 +5,7 @@ Code contributions also came from:
 Chris GauthierDickey <[email protected]>
 Elliot Glaysher
 Daniel Pittman <[email protected]>
+John Popplewell <[email protected]>
 Nils Durner <[email protected]>
 Heikki Lindholm <[email protected]>
 Alex Sadovsky <[email protected]>

+ 1 - 1
src/daemon/connection.c

@@ -453,7 +453,7 @@ get_date_string (char *date, unsigned int max)
             days[now.tm_wday % 7],
             now.tm_mday,
             mons[now.tm_mon % 12],
-            now.tm_year, now.tm_hour, now.tm_min, now.tm_sec);
+            1900 + now.tm_year, now.tm_hour, now.tm_min, now.tm_sec);
 }
 
 /**