diff options
| author | Jeff Trawick <trawick@apache.org> | 2001-06-06 19:30:54 +0000 |
|---|---|---|
| committer | Jeff Trawick <trawick@apache.org> | 2001-06-06 19:30:54 +0000 |
| commit | e1464feb1864aede5b9d50c8ee322600fb4e7e93 (patch) | |
| tree | 6e6bd600b344361288ec1fc5c3459bbf705c2e1c /server/util_script.c | |
| parent | dc3207f9bf37284b6ba467608d726e64defcea03 (diff) | |
| download | httpd-e1464feb1864aede5b9d50c8ee322600fb4e7e93.tar.gz | |
use apr-util's apr_date_parse_http() instead of the to-be-removed
ap_parseHTTPdate()
(proxy needs to make similar changes)
build changes forthcoming...
Submitted by: Justin Erenkrantz
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89277 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/util_script.c')
| -rw-r--r-- | server/util_script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/util_script.c b/server/util_script.c index 41c888ec3d..12e22537ab 100644 --- a/server/util_script.c +++ b/server/util_script.c @@ -77,7 +77,7 @@ #include "http_protocol.h" #include "http_request.h" /* for sub_req_lookup_uri() */ #include "util_script.h" -#include "util_date.h" /* For parseHTTPdate() */ +#include "apr_date.h" /* For apr_date_parse_http() */ #include "util_ebcdic.h" #ifdef OS2 @@ -546,7 +546,7 @@ AP_DECLARE(int) ap_scan_script_header_err_core(request_rec *r, char *buffer, * pass it on blindly because of restrictions on future values. */ else if (!strcasecmp(w, "Last-Modified")) { - ap_update_mtime(r, ap_parseHTTPdate(l)); + ap_update_mtime(r, apr_date_parse_http(l)); ap_set_last_modified(r); } else if (!strcasecmp(w, "Set-Cookie")) { |
