You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2004/01/13 11:25:26 UTC
cvs commit: apache-1.3/src/modules/standard mod_auth_db.c
jorton 2004/01/13 02:25:26
Modified: src/modules/standard mod_auth_db.c
Log:
* src/modules/standard/mod_usertrack.c (spot_cookie): Remove unused
variable 'i' added in r1.57.
Revision Changes Path
1.51 +4 -0 apache-1.3/src/modules/standard/mod_auth_db.c
Index: mod_auth_db.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/modules/standard/mod_auth_db.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -b -d -u -r1.50 -r1.51
--- mod_auth_db.c 1 Jan 2004 13:32:55 -0000 1.50
+++ mod_auth_db.c 13 Jan 2004 10:25:26 -0000 1.51
@@ -172,7 +172,11 @@
#if defined(DB3) || defined(DB4)
if ( db_create(&f, NULL, 0) != 0
+#if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR > 0
+ || f->open(f, NULL, auth_dbpwfile, NULL, DB_HASH, DB_RDONLY, 0664) != 0) {
+#else
|| f->open(f, auth_dbpwfile, NULL, DB_HASH, DB_RDONLY, 0664) != 0) {
+#endif
#elif defined(DB2)
if (db_open(auth_dbpwfile, DB_HASH, DB_RDONLY, 0664, NULL, NULL, &f) != 0) {
#else
Re: cvs commit: apache-1.3/src/modules/standard mod_auth_db.c
Posted by Joe Orton <jo...@redhat.com>.
On Tue, Jan 13, 2004 at 10:25:26AM -0000, jorton@apache.org wrote:
> jorton 2004/01/13 02:25:26
>
> Modified: src/modules/standard mod_auth_db.c
> Log:
> * src/modules/standard/mod_usertrack.c (spot_cookie): Remove unused
> variable 'i' added in r1.57.
Gah, sorry, trigger happy on the cvs ci, this is of course the wrong
commit message, I'll amend it. :(
> --- mod_auth_db.c 1 Jan 2004 13:32:55 -0000 1.50
> +++ mod_auth_db.c 13 Jan 2004 10:25:26 -0000 1.51
> @@ -172,7 +172,11 @@
>
> #if defined(DB3) || defined(DB4)
> if ( db_create(&f, NULL, 0) != 0
> +#if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR > 0
> + || f->open(f, NULL, auth_dbpwfile, NULL, DB_HASH, DB_RDONLY, 0664) != 0) {
> +#else
> || f->open(f, auth_dbpwfile, NULL, DB_HASH, DB_RDONLY, 0664) != 0) {
> +#endif
> #elif defined(DB2)
> if (db_open(auth_dbpwfile, DB_HASH, DB_RDONLY, 0664, NULL, NULL, &f) != 0) {
> #else
>
>
>