pier 01/05/10 02:09:54
Modified: connectors/apache-1.3 mod_webapp.c
Log:
Removed warnings on invalid returns
Revision Changes Path
1.14 +3 -4 jakarta-tomcat-4.0/connectors/apache-1.3/mod_webapp.c
Index: mod_webapp.c
===================================================================
RCS file: /home/cvs/jakarta-tomcat-4.0/connectors/apache-1.3/mod_webapp.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- mod_webapp.c 2001/05/10 08:47:47 1.13
+++ mod_webapp.c 2001/05/10 09:09:51 1.14
@@ -57,7 +57,7 @@
/**
* @author Pier Fumagalli <mailto:[EMAIL PROTECTED]>
- * @version $Id: mod_webapp.c,v 1.13 2001/05/10 08:47:47 pier Exp $
+ * @version $Id: mod_webapp.c,v 1.14 2001/05/10 09:09:51 pier Exp $
*/
#include <httpd.h>
@@ -366,7 +366,7 @@
wa_chain *elem=NULL;
/* Paranoid check */
- if (!wam_initialized) return;
+ if (!wam_initialized) return(DECLINED);
/* Check if this host was recognized */
host=ap_get_module_config(r->server->module_config,&webapp_module);
@@ -391,7 +391,6 @@
return(OK);
}
-
/* Handle the current request */
static int wam_invoke(request_rec *r) {
server_rec *svr=r->server;
@@ -404,7 +403,7 @@
int ret=0;
/* Paranoid check */
- if (!wam_initialized) return;
+ if (!wam_initialized) return(DECLINED);
/* Try to get a hold on the webapp request structure */
appl=(wa_application *)ap_get_module_config(r->request_config,