Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add leading zero to hours in generated httpdates, else Apache invalid…

…ates

and sets to the beginning of the epoch


git-svn-id: http://svn.kfish.org/fastphoto/trunk@217 9c49b5d1-7df3-0310-bce2-b7278e68f44c
  • Loading branch information...
commit 404b7d4a0fce71e0730d96ff18b4da9532e3c293 1 parent 1f8fbfb
conrad authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/httpdate.c
View
2  src/httpdate.c
@@ -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",
Please sign in to comment.
Something went wrong with that request. Please try again.