dgaudet 98/01/21 14:09:58
Modified: src/modules/proxy mod_proxy.c Log: more const stuff from debugging the code Revision Changes Path 1.31 +3 -3 apachen/src/modules/proxy/mod_proxy.c Index: mod_proxy.c =================================================================== RCS file: /export/home/cvs/apachen/src/modules/proxy/mod_proxy.c,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- mod_proxy.c 1998/01/07 16:46:34 1.30 +++ mod_proxy.c 1998/01/21 22:09:57 1.31 @@ -82,10 +82,10 @@ /* -------------------------------------------------------------- */ /* Translate the URL into a 'filename' */ -static int alias_match(char *uri, char *alias_fakename) +static int alias_match(const char *uri, const char *alias_fakename) { - char *end_fakename = alias_fakename + strlen(alias_fakename); - char *aliasp = alias_fakename, *urip = uri; + const char *end_fakename = alias_fakename + strlen(alias_fakename); + const char *aliasp = alias_fakename, *urip = uri; while (aliasp < end_fakename) { if (*aliasp == '/') {