diff options
Diffstat (limited to 'modules/echo/mod_echo.c')
-rw-r--r-- | modules/echo/mod_echo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/echo/mod_echo.c b/modules/echo/mod_echo.c index 336f90f3fa..c7f2a19d92 100644 --- a/modules/echo/mod_echo.c +++ b/modules/echo/mod_echo.c @@ -108,10 +108,10 @@ static int update_echo_child_status(ap_sb_handle_t *sbh, /* initial pass only, please - in the name of efficiency */ if (c) { - apr_cpystrn(ws->client, + apr_cpystrn(ws->client64, ap_get_remote_host(c, c->base_server->lookup_defaults, REMOTE_NOLOOKUP, NULL), - sizeof(ws->client)); + sizeof(ws->client64)); apr_cpystrn(ws->vhost, c->base_server->server_hostname, sizeof(ws->vhost)); /* Deliberate trailing space - filling in string on WRITE passes */ |