[xiph-commits] r19012 - icecast/trunk/icecast/src

ph3-der-loewe at svn.xiph.org ph3-der-loewe at svn.xiph.org
Tue Nov 5 17:01:31 PST 2013


Author: ph3-der-loewe
Date: 2013-11-05 17:01:31 -0800 (Tue, 05 Nov 2013)
New Revision: 19012

Modified:
   icecast/trunk/icecast/src/util.c
Log:
corrected Date:-header format to conform the standard (see RFC1123). Thanks to cato for reporting.

Modified: icecast/trunk/icecast/src/util.c
===================================================================
--- icecast/trunk/icecast/src/util.c	2013-11-05 23:56:46 UTC (rev 19011)
+++ icecast/trunk/icecast/src/util.c	2013-11-06 01:01:31 UTC (rev 19012)
@@ -558,7 +558,7 @@
 #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';
 



More information about the commits mailing list