aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/connection.c')
-rw-r--r--src/daemon/connection.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/daemon/connection.c b/src/daemon/connection.c
index 1960a334..1b6ba0fd 100644
--- a/src/daemon/connection.c
+++ b/src/daemon/connection.c
@@ -592,9 +592,12 @@ get_date_string (char *date)
592 SPRINTF (date, 592 SPRINTF (date,
593 "Date: %3s, %02u %3s %04u %02u:%02u:%02u GMT\r\n", 593 "Date: %3s, %02u %3s %04u %02u:%02u:%02u GMT\r\n",
594 days[now.tm_wday % 7], 594 days[now.tm_wday % 7],
595 now.tm_mday, 595 (unsigned int) now.tm_mday,
596 mons[now.tm_mon % 12], 596 mons[now.tm_mon % 12],
597 1900 + now.tm_year, now.tm_hour, now.tm_min, now.tm_sec); 597 (unsigned int) (1900 + now.tm_year),
598 (unsigned int) now.tm_hour,
599 (unsigned int) now.tm_min,
600 (unsigned int) now.tm_sec);
598} 601}
599 602
600 603