Commit 3f0d8a09 authored by Philipp Schafft's avatar Philipp Schafft 🦁

corrected Date:-header format to conform the standard (see RFC1123). Thanks to cato for reporting.

svn path=/icecast/trunk/icecast/; revision=19012
parent 917ace89
......@@ -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';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment