datastore_db.c in 0.17.2

Greg Louis glouis at dynamicro.on.ca
Sun Feb 22 21:07:42 CET 2004


Got an executable line a little too high in that file:

--- datastore_db.c~     2004-02-22 15:03:57.000000000 -0500
+++ datastore_db.c      2004-02-22 15:03:57.000000000 -0500
@@ -206,8 +206,6 @@
     int is_swapped;
     char *t;
 
-    if (!init) abort();
-
     dbh_t *handle = NULL;
     uint32_t opt_flags = 0;
     /*
@@ -221,6 +219,8 @@
     size_t idx;
     uint32_t retryflags[] = { 0, DB_NOMMAP };
 
+    if (!init) abort();
+
     check_db_version();
 
     if (open_mode == DB_READ)

works for me.
-- 
| G r e g  L o u i s         | gpg public key: 0x400B1AA86D9E3E64 |
|  http://www.bgl.nu/~glouis |   (on my website or any keyserver) |
|  http://wecanstopspam.org in signatures helps fight junk email. |




More information about the Bogofilter mailing list