mirror of
https://github.com/apache/httpd.git
synced 2025-08-13 14:40:20 +00:00
Reverse the unnecessary change to the interface of ap_parseHTTPdate()
that was discovered while rebuilding the repository. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83821 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -588,11 +588,10 @@ API_EXPORT(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")) {
|
||||
time_t mtime;
|
||||
if (ap_parseHTTPdate(l, &mtime) == 1) {
|
||||
ap_update_mtime(r, mtime);
|
||||
ap_set_last_modified(r);
|
||||
}
|
||||
time_t mtime = ap_parseHTTPdate(l);
|
||||
|
||||
ap_update_mtime(r, mtime);
|
||||
ap_set_last_modified(r);
|
||||
}
|
||||
else if (!strcasecmp(w, "Set-Cookie")) {
|
||||
ap_table_add(cookie_table, w, l);
|
||||
|
Reference in New Issue
Block a user