summaryrefslogtreecommitdiff
path: root/test/sendfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/sendfile.c')
-rw-r--r--test/sendfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sendfile.c b/test/sendfile.c
index 30797a12c..4ce4bb618 100644
--- a/test/sendfile.c
+++ b/test/sendfile.c
@@ -132,7 +132,7 @@ static void apr_setup(apr_pool_t **p, apr_socket_t **sock, int *family)
apr_strerror(rv, buf, sizeof buf));
exit(1);
}
- *family = localsa->sa.sin.sin_family;
+ *family = localsa->family;
}
}