summaryrefslogtreecommitdiffstats
path: root/modules/echo/mod_echo.c
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2018-08-01 13:27:28 +0200
committerJim Jagielski <jim@apache.org>2018-08-01 13:27:28 +0200
commitc7c68752c8856a73dad940e058ed9e2737bf9d10 (patch)
tree86af11fc7a2764223776df049074285b7e342f9c /modules/echo/mod_echo.c
parentspelling (diff)
downloadapache2-c7c68752c8856a73dad940e058ed9e2737bf9d10.tar.xz
apache2-c7c68752c8856a73dad940e058ed9e2737bf9d10.zip
Fix PR54848 in a 2.4.x backportable format. Ideally deprecating the use
of ->client in whatever version of 2.4 this is added into would be more logical. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1837225 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/echo/mod_echo.c')
-rw-r--r--modules/echo/mod_echo.c4
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 */