[xiph-commits] r3514 - liboggz/trunk/src/tools/oggz-chop

conrad at svn.annodex.net conrad at svn.annodex.net
Thu Mar 20 14:42:40 PDT 2008


Author: conrad
Date: 2008-03-20 14:42:39 -0700 (Thu, 20 Mar 2008)
New Revision: 3514

Modified:
   liboggz/trunk/src/tools/oggz-chop/httpdate.c
Log:
fix generated httpdates with leading zero on hours (else Apache invalidates
and resets to Jan 1 1970).


Modified: liboggz/trunk/src/tools/oggz-chop/httpdate.c
===================================================================
--- liboggz/trunk/src/tools/oggz-chop/httpdate.c	2008-03-20 20:50:57 UTC (rev 3513)
+++ liboggz/trunk/src/tools/oggz-chop/httpdate.c	2008-03-20 21:42:39 UTC (rev 3514)
@@ -5,7 +5,7 @@
 #include <string.h>
 #include <time.h>
 
-#define HTTPDATE_FMT "%3s, %02d %s %4d %2d:%02d:%02d GMT"
+#define HTTPDATE_FMT "%3s, %02d %s %4d %02d:%02d:%02d GMT"
 
 static char * wdays[] = {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"};
 static char * months[] = {"Jan", "Feb", "Mar", "Apr", "May", "Jun",



More information about the commits mailing list