mirror of
https://github.com/apache/httpd.git
synced 2025-04-18 22:24:07 +03:00
Fix variable declaration warning in scoreboard.c
Submitted by: Vladimír Chlup <vchlup redhat.com> Github: closes #516 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923806 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e3d014c009
commit
69c4c6b651
@ -657,11 +657,11 @@ AP_DECLARE(void) ap_time_process_request(ap_sb_handle_t *sbh, int status)
|
||||
AP_DECLARE(void) ap_set_time_process_request(ap_sb_handle_t* const sbh,
|
||||
const apr_time_t timebeg,const apr_time_t timeend)
|
||||
{
|
||||
worker_score *ws;
|
||||
if (!sbh || sbh->child_num < 0)
|
||||
return;
|
||||
|
||||
worker_score* const ws =
|
||||
&ap_scoreboard_image->servers[sbh->child_num][sbh->thread_num];
|
||||
ws = &ap_scoreboard_image->servers[sbh->child_num][sbh->thread_num];
|
||||
|
||||
ws->start_time = timebeg;
|
||||
ws->stop_time = ws->last_used = timeend;
|
||||
|
Loading…
x
Reference in New Issue
Block a user