summaryrefslogtreecommitdiffhomepage
path: root/src/test/nxt_unit_app_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/nxt_unit_app_test.c')
-rw-r--r--src/test/nxt_unit_app_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/nxt_unit_app_test.c b/src/test/nxt_unit_app_test.c
index 8fda9740..d83bd83a 100644
--- a/src/test/nxt_unit_app_test.c
+++ b/src/test/nxt_unit_app_test.c
@@ -225,7 +225,7 @@ greeting_app_request_handler(nxt_unit_request_info_t *req)
*p++ = '\n';
p = copy(p, LOCAL_ADDR, nxt_length(LOCAL_ADDR));
- p = copy(p, nxt_unit_sptr_get(&r->local), r->local_length);
+ p = copy(p, nxt_unit_sptr_get(&r->local_addr), r->local_addr_length);
*p++ = '\n';
p = copy(p, TARGET, nxt_length(TARGET));