Update of /cvsroot/mod-auth/mod_authn_dbi/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13382
Modified Files:
mod_authn_dbi.c
Log Message:
no more !APR_SUCCESS. its bad. mmmmkay.
Index: mod_authn_dbi.c
===================================================================
RCS file: /cvsroot/mod-auth/mod_authn_dbi/src/mod_authn_dbi.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- mod_authn_dbi.c 8 Feb 2004 22:41:12 -0000 1.16
+++ mod_authn_dbi.c 8 Feb 2004 23:40:33 -0000 1.17
@@ -280,11 +280,11 @@
/* some sanity checks on conn_id..limits are liberal and are more or less random */
if (strlen(conn_id) > 255) {
- return !APR_SUCCESS;
+ return APR_EGENERAL;
}
for (c = 0; c < strlen(conn_id); c++) {
if (conn_id[c] < ' ') {
- return !APR_SUCCESS;
+ return APR_EGENERAL;
}
}
temp = apr_hash_get(authn_dbi_config, conn_id, APR_HASH_KEY_STRING);
|