rse 98/03/06 05:47:42
Modified: src/modules/standard mod_rewrite.c mod_rewrite.h
Log:
Inline the proxy availability check because the existence of the function
is_proxy_available() is historical and from days where no find_linked_module()
function existed and where this was a bigger function.
Revision Changes Path
1.88 +1 -13 apache-1.3/src/modules/standard/mod_rewrite.c
Index: mod_rewrite.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_rewrite.c,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- mod_rewrite.c 1998/03/06 12:52:57 1.87
+++ mod_rewrite.c 1998/03/06 13:47:40 1.88
@@ -878,7 +878,7 @@
static void init_module(server_rec *s, pool *p)
{
/* check if proxy module is available */
- proxy_available = is_proxy_available(s);
+ proxy_available = (find_linked_module("mod_proxy.c") != NULL);
/* precompile a static pattern
for the txt mapfile parsing */
@@ -3783,18 +3783,6 @@
return 1;
else
return 0;
-}
-
-/*
-**
-** check if proxy module is available
-** i.e. if it is compiled in and turned on
-**
-*/
-
-static int is_proxy_available(server_rec *s)
-{
- return (find_linked_module("mod_proxy.c") != NULL);
}
1.48 +0 -3 apache-1.3/src/modules/standard/mod_rewrite.h
Index: mod_rewrite.h
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_rewrite.h,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- mod_rewrite.h 1998/03/06 12:52:58 1.47
+++ mod_rewrite.h 1998/03/06 13:47:41 1.48
@@ -458,9 +458,6 @@
static int prefix_stat(const char *path, struct stat *sb);
static void add_env_variable(request_rec *r, char *s);
- /* Proxy Module check */
-static int is_proxy_available(server_rec *s);
-
/* File locking */
static void fd_lock(int fd);
static void fd_unlock(int fd);