comparison src/c/urweb.c @ 1402:d6ea63612909

Fix format of THE_PAST timestamp
author Adam Chlipala <adam@chlipala.net>
date Sun, 16 Jan 2011 15:03:45 -0500
parents a5bfed32d4f7
children 82b204f20026
comparison
equal deleted inserted replaced
1401:af501150678a 1402:d6ea63612909
2945 b.size = r - ctx->heap.front; 2945 b.size = r - ctx->heap.front;
2946 ctx->heap.front = r; 2946 ctx->heap.front = r;
2947 return b; 2947 return b;
2948 } 2948 }
2949 2949
2950 #define THE_PAST "expires=Mon, 01-01-1970 00:00:00 GMT" 2950 #define THE_PAST "expires=Sat, 01-Jan-2011 00:00:00 GMT"
2951 2951
2952 uw_Basis_string uw_Basis_get_cookie(uw_context ctx, uw_Basis_string c) { 2952 uw_Basis_string uw_Basis_get_cookie(uw_context ctx, uw_Basis_string c) {
2953 int len = strlen(c); 2953 int len = strlen(c);
2954 char *p = ctx->outHeaders.start; 2954 char *p = ctx->outHeaders.start;
2955 2955