mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Fix a bug in mod_status. ap_ht_time expects an ap_time_t type, instead of
a time_t now. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84383 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -82,7 +82,10 @@ static int status_handler(request_rec *r)
|
||||
int i;
|
||||
ap_array_header_t *server_status;
|
||||
ap_status_table_row_t *status_rows;
|
||||
time_t nowtime = time(NULL);
|
||||
ap_time_t *nowtime = NULL;
|
||||
|
||||
ap_make_time(&nowtime, r->pool);
|
||||
ap_curtime(nowtime);
|
||||
|
||||
r->allowed = (1 << M_GET);
|
||||
if (r->method_number != M_GET)
|
||||
|
Reference in New Issue
Block a user