From bdf5c4dfd5dd4974e7f56b88c83d64a30ed44ea9 Mon Sep 17 00:00:00 2001 From: David Reid Date: Fri, 10 Nov 2000 00:58:25 +0000 Subject: [PATCH] Bring the apr_in_addr type into line with naming conventions and make changes where appropriate. At least on my system virtual hosts seem to still work :) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86895 13f79535-47bb-0310-9956-ffa450edef68 --- include/httpd.h | 2 +- server/vhost.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/httpd.h b/include/httpd.h index 0f68fae9ed..ba87d577c3 100644 --- a/include/httpd.h +++ b/include/httpd.h @@ -900,7 +900,7 @@ struct server_addr_rec { /** The next server in the list */ server_addr_rec *next; /** The bound address, for this server */ - apr_in_addr host_addr; + apr_in_addr_t host_addr; /** The bound port, for this server */ apr_port_t host_port; /** The name given in */ diff --git a/server/vhost.c b/server/vhost.c index edf9e0289c..a763d879b1 100644 --- a/server/vhost.c +++ b/server/vhost.c @@ -187,7 +187,7 @@ static const char *get_addresses(apr_pool_t *p, const char *w_, server_addr_rec ***paddr, apr_port_t port) { struct hostent *hep; - apr_in_addr my_addr; + apr_in_addr_t my_addr; server_addr_rec *sar; char *t; int i, is_an_ip_addr; @@ -402,7 +402,7 @@ static name_chain *new_name_chain(apr_pool_t *p, server_rec *s, server_addr_rec } -static apr_inline ipaddr_chain *find_ipaddr(struct in_addr *server_ip, +static apr_inline ipaddr_chain *find_ipaddr(apr_in_addr_t *server_ip, apr_port_t port) { unsigned bucket; -- 2.50.1