diff options
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) { |
