From 3f0d8a097efcdb4505eddb7c167806ab76817b91 Mon Sep 17 00:00:00 2001 From: Philipp Schafft Date: Wed, 6 Nov 2013 01:01:31 +0000 Subject: [PATCH] corrected Date:-header format to conform the standard (see RFC1123). Thanks to cato for reporting. svn path=/icecast/trunk/icecast/; revision=19012 --- src/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.c b/src/util.c index c011e8e9..01a4e348 100644 --- a/src/util.c +++ b/src/util.c @@ -558,7 +558,7 @@ ssize_t util_http_build_header(char * out, size_t len, ssize_t offset, #endif if (gmtime_result) - strftime(currenttime_buffer, sizeof(currenttime_buffer), "Date: %a, %d-%b-%Y %X GMT\r\n", gmtime_result); + strftime(currenttime_buffer, sizeof(currenttime_buffer), "Date: %a, %d %b %Y %X GMT\r\n", gmtime_result); else currenttime_buffer[0] = '\0';