aboutsummaryrefslogtreecommitdiffstats
path: root/mail/exim
diff options
context:
space:
mode:
Diffstat (limited to 'mail/exim')
-rw-r--r--mail/exim/files/patch-src_dbstuff.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/mail/exim/files/patch-src_dbstuff.h b/mail/exim/files/patch-src_dbstuff.h
new file mode 100644
index 000000000000..f17c509120e4
--- /dev/null
+++ b/mail/exim/files/patch-src_dbstuff.h
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- src/dbstuff.h.orig
++++ src/dbstuff.h
+@@ -331,7 +331,7 @@
+
+ /* EXIM_DBSCAN - returns TRUE if data is returned, FALSE at end */
+ #define EXIM_DBSCAN(db, key, data, first, cursor) \
+- ((db)->seq(db, &key, &data, (first? R_FIRST : 0)) == 0)
++ ((db)->seq(db, &key, &data, (first? R_FIRST : R_NEXT)) == 0)
+
+ /* EXIM_DBDELETE_CURSOR - terminate scanning operation (null). Make it
+ refer to cursor, to keep picky compilers happy. */