Cleanup the ZZZ comments. Basically these used to mark places where APR

is needed.  It is much easier to do this conversion by hand than by
searching for old comments, so they are going away now.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84128 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan Bloom
1999-11-16 18:32:05 +00:00
parent cb7f5c2805
commit 370fc31b00
18 changed files with 28 additions and 80 deletions

View File

@ -167,9 +167,6 @@ void ap_init_vhost_config(ap_context_t *p)
static const char *get_addresses(ap_context_t *p, char *w, server_addr_rec ***paddr,
unsigned port)
{
/* ZZZ redesign to use AP funcs and types. Will see what I can do to make it
similar using posix std's. */
struct hostent *hep;
unsigned long my_addr;
server_addr_rec *sar;
@ -424,7 +421,6 @@ static void dump_vhost_config(APRFile fd)
fprintf(f, "VirtualHost configuration:\n");
for (i = 0; i < IPHASH_TABLE_SIZE; ++i) {
for (ic = iphash_table[i]; ic; ic = ic->next) {
/* ZZZ should we change the Net addr to a string for this? */
if (ic->sar->host_port == 0) {
ap_snprintf(buf, sizeof(buf), "%pA:*", &ic->sar->host_addr);
}
@ -475,8 +471,6 @@ static void dump_vhost_config(APRFile fd)
/* compile the tables and such we need to do the run-time vhost lookups */
void ap_fini_vhost_config(ap_context_t *p, server_rec *main_s)
{
/* ZZZ need to redesign for use with AP funcs. will look into this later.
*/
server_addr_rec *sar;
int has_default_vhost_addr;
server_rec *s;
@ -781,7 +775,6 @@ static void check_hostalias(request_rec *r)
* names we'll match have ports associated with them
*/
const char *host = r->hostname;
/* ZZZ use AP func here. */
unsigned port = ntohs(r->connection->local_addr.sin_port);
server_rec *s;
server_rec *last_s;