aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2008-05-05 15:18:01 +0000
committerChristian Grothoff <christian@grothoff.org>2008-05-05 15:18:01 +0000
commite55b6e9d4f42c2f5b638c169e16deaa83e59faff (patch)
treee091d968b45b84235227eb5b2fac55aa27f484b9
parentc10ad1ef7709dee06674d8c28ed5dc14ae08c5b4 (diff)
downloadlibmicrohttpd-e55b6e9d4f42c2f5b638c169e16deaa83e59faff.tar.gz
libmicrohttpd-e55b6e9d4f42c2f5b638c169e16deaa83e59faff.zip
fix date
-rw-r--r--AUTHORS1
-rw-r--r--src/daemon/connection.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index cc94f547..95c14487 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -5,6 +5,7 @@ Code contributions also came from:
5Chris GauthierDickey <chrisg@cs.du.edu> 5Chris GauthierDickey <chrisg@cs.du.edu>
6Elliot Glaysher 6Elliot Glaysher
7Daniel Pittman <depittman@gmail.com> 7Daniel Pittman <depittman@gmail.com>
8John Popplewell <john@johnnypops.demon.co.uk>
8Nils Durner <durner@gnunet.org> 9Nils Durner <durner@gnunet.org>
9Heikki Lindholm <holindho@cs.helsinki.fi> 10Heikki Lindholm <holindho@cs.helsinki.fi>
10Alex Sadovsky <alexeysad@gmail.com> 11Alex Sadovsky <alexeysad@gmail.com>
diff --git a/src/daemon/connection.c b/src/daemon/connection.c
index 67be4e91..5f6de640 100644
--- a/src/daemon/connection.c
+++ b/src/daemon/connection.c
@@ -453,7 +453,7 @@ get_date_string (char *date, unsigned int max)
453 days[now.tm_wday % 7], 453 days[now.tm_wday % 7],
454 now.tm_mday, 454 now.tm_mday,
455 mons[now.tm_mon % 12], 455 mons[now.tm_mon % 12],
456 now.tm_year, now.tm_hour, now.tm_min, now.tm_sec); 456 1900 + now.tm_year, now.tm_hour, now.tm_min, now.tm_sec);
457} 457}
458 458
459/** 459/**