Commit e1af779e authored by conrad's avatar conrad

fix generated httpdates with leading zero on hours (else Apache invalidates

and resets to Jan 1 1970).

git-svn-id: 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent 697c84bd
......@@ -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",
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