X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=cgisimple.c;h=373cb978c326893e96c706c7339aa7c2316dd447;hp=5eb89314563afd6bfc13bd1638b47c838085af03;hb=bad55634165b116a64244e1ecd91bcdda5a2d2b2;hpb=d52001f4635fd28608fd8a311d6b200e4663ecfa diff --git a/cgisimple.c b/cgisimple.c index 5eb89314..373cb978 100644 --- a/cgisimple.c +++ b/cgisimple.c @@ -1,4 +1,4 @@ -const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.67 2008/03/27 17:00:05 fabiankeil Exp $"; +const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.68 2008/03/27 18:27:21 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/cgisimple.c,v $ @@ -36,6 +36,9 @@ const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.67 2008/03/27 17:00:05 fabian * * Revisions : * $Log: cgisimple.c,v $ + * Revision 1.68 2008/03/27 18:27:21 fabiankeil + * Remove kill-popups action. + * * Revision 1.67 2008/03/27 17:00:05 fabiankeil * Turn the favicon blobs into locals. * @@ -1795,7 +1798,7 @@ jb_err cgi_robots_txt(struct client_state *csp, rsp->is_static = 1; - get_http_time(7 * 24 * 60 * 60, buf); /* 7 days into future */ + get_http_time(7 * 24 * 60 * 60, buf, sizeof(buf)); /* 7 days into future */ if (!err) err = enlist_unique_header(rsp->headers, "Expires", buf); return (err ? JB_ERR_MEMORY : JB_ERR_OK);