diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2002-03-12 23:10:38 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2002-03-12 23:10:38 +0000 |
commit | bd823fab6c0a3771a25b7224a81bd6e9a552a73e (patch) | |
tree | 71a379f6679bd6cdb3847682ce45e2c539c59c52 /test/sendfile.c | |
parent | a69b5a414d210a8d63a0eccb0f5f1949231a4b94 (diff) | |
download | libapr-bd823fab6c0a3771a25b7224a81bd6e9a552a73e.tar.gz |
clean up the way we look at the family of an apr_sockaddr_t
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63112 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/sendfile.c')
-rw-r--r-- | test/sendfile.c | 2 |
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; } } |