diff options
| author | Arno Töll <arno@debian.org> | 2012-10-20 02:58:14 +0200 |
|---|---|---|
| committer | Arno Töll <arno@debian.org> | 2012-10-20 02:58:14 +0200 |
| commit | 5c4fba3ffbe778bdffe10a93d04821579601a020 (patch) | |
| tree | 91be9a7f99d3988ba48b0a619479aa46a3234191 /server/scoreboard.c | |
| parent | 8f9c15530d0bc387af114619b3ff3f930eb23d3c (diff) | |
| download | apache2-upstream/2.4.3.tar.gz | |
Imported Upstream version 2.4.3upstream/2.4.3
Diffstat (limited to 'server/scoreboard.c')
| -rw-r--r-- | server/scoreboard.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/scoreboard.c b/server/scoreboard.c index 344dc5ae..bef2b909 100644 --- a/server/scoreboard.c +++ b/server/scoreboard.c @@ -488,8 +488,9 @@ static int update_child_status_internal(int child_num, REMOTE_NOLOOKUP, NULL), sizeof(ws->client)); copy_request(ws->request, sizeof(ws->request), r); if (r->server) { - apr_cpystrn(ws->vhost, r->server->server_hostname, - sizeof(ws->vhost)); + apr_snprintf(ws->vhost, sizeof(ws->vhost), "%s:%d", + r->server->server_hostname, + r->connection->local_addr->port); } } else if (c) { |
