pier 01/05/10 01:56:30
Modified: connectors/include wa_config.h
connectors/lib wa_request.c
Log:
Fixed small bug preventing compilation when providers are enabled.
Revision Changes Path
1.3 +2 -2 jakarta-tomcat-4.0/connectors/include/wa_config.h
Index: wa_config.h
===================================================================
RCS file: /home/cvs/jakarta-tomcat-4.0/connectors/include/wa_config.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- wa_config.h 2001/05/10 06:23:10 1.2
+++ wa_config.h 2001/05/10 08:56:22 1.3
@@ -58,7 +58,7 @@
/**
* @package Configuration
* @author Pier Fumagalli <mailto:[EMAIL PROTECTED]>
- * @version $Id: wa_config.h,v 1.2 2001/05/10 06:23:10 pier Exp $
+ * @version $Id: wa_config.h,v 1.3 2001/05/10 08:56:22 pier Exp $
*/
#ifndef _WA_CONFIG_H_
#define _WA_CONFIG_H_
@@ -73,7 +73,7 @@
/** The connection name. */
char *name;
/** The connection provider. */
- void *prov;
+ wa_provider *prov;
/** The connection parameter (as in the configuration file). */
char *parm;
/** The provider-specific configuration member for this connection. */
1.7 +3 -3 jakarta-tomcat-4.0/connectors/lib/wa_request.c
Index: wa_request.c
===================================================================
RCS file: /home/cvs/jakarta-tomcat-4.0/connectors/lib/wa_request.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- wa_request.c 2001/05/10 06:49:15 1.6
+++ wa_request.c 2001/05/10 08:56:27 1.7
@@ -55,7 +55,7 @@
* *
* ========================================================================= */
-/* @version $Id: wa_request.c,v 1.6 2001/05/10 06:49:15 pier Exp $ */
+/* @version $Id: wa_request.c,v 1.7 2001/05/10 08:56:27 pier Exp $ */
#include <wa.h>
/* Allocate a new request structure. */
@@ -185,8 +185,8 @@
/* Invoke a request in a web application. */
int wa_rinvoke(wa_request *r, wa_application *a) {
- //return(a->conn->prov->handle(r,a));
- return(wa_rerror(r,500,"This is being fixed"));
+ return(a->conn->prov->handle(r,a));
+ //return(wa_rerror(r,500,"This is being fixed"));
}
void wa_rlog(wa_request *r, const char *f, const int l, const char *fmt, ...) {