You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by dg...@hyperreal.org on 1998/03/03 09:31:29 UTC
cvs commit: apache-1.3/src/modules/standard mod_log_config.c
dgaudet 98/03/03 00:31:29
Modified: src/modules/standard mod_log_config.c
Log:
explain why we don't use get_server_port and get_server_name in mod_log_config
Revision Changes Path
1.47 +3 -0 apache-1.3/src/modules/standard/mod_log_config.c
Index: mod_log_config.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_log_config.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- mod_log_config.c 1998/03/02 06:51:18 1.46
+++ mod_log_config.c 1998/03/03 08:31:28 1.47
@@ -401,6 +401,9 @@
return pstrdup(r->pool, duration);
}
+/* These next two routines use the canonical name:port so that log
+ * parsers don't need to duplicate all the vhost parsing crud.
+ */
static char *log_virtual_host(request_rec *r, char *a)
{
return pstrdup(r->pool, r->server->server_hostname);