Changeset 217

Show
Ignore:
Timestamp:
03/21/08 06:44:23 (10 months ago)
Author:
conrad
Message:

add leading zero to hours in generated httpdates, else Apache invalidates
and sets to the beginning of the epoch

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • fastphoto/trunk/src/httpdate.c

    r148 r217  
    66#include <time.h> 
    77 
    8 #define HTTPDATE_FMT "%3s, %02d %s %4d %2d:%02d:%02d GMT" 
     8#define HTTPDATE_FMT "%3s, %02d %s %4d %02d:%02d:%02d GMT" 
    99 
    1010static char * wdays[] = {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"};