dgaudet 98/09/17 08:56:09
Modified: src/include httpd.h
src/main util.c
Log:
don't lie about the constness of hostname
Revision Changes Path
1.240 +1 -1 apache-1.3/src/include/httpd.h
Index: httpd.h
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/include/httpd.h,v
retrieving revision 1.239
retrieving revision 1.240
diff -u -r1.239 -r1.240
--- httpd.h 1998/08/25 09:15:29 1.239
+++ httpd.h 1998/09/17 15:56:03 1.240
@@ -989,7 +989,7 @@
#endif /* _OSD_POSIX */
char *ap_get_local_host(pool *);
-unsigned long ap_get_virthost_addr(const char *hostname, unsigned short
*port);
+unsigned long ap_get_virthost_addr(char *hostname, unsigned short *port);
extern API_VAR_EXPORT time_t ap_restart_time;
1.133 +1 -1 apache-1.3/src/main/util.c
Index: util.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/main/util.c,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -r1.132 -r1.133
--- util.c 1998/09/06 20:03:35 1.132
+++ util.c 1998/09/17 15:56:08 1.133
@@ -1542,7 +1542,7 @@
* Parses a host of the form <address>[:port]
* :port is permitted if 'port' is not NULL
*/
-unsigned long ap_get_virthost_addr(const char *w, unsigned short *ports)
+unsigned long ap_get_virthost_addr(char *w, unsigned short *ports)
{
struct hostent *hep;
unsigned long my_addr;