aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-05-21 11:31:10 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2009-05-21 11:31:10 +0300
commit1c0fc0cef63f1cb0687961cafbc392b9afd141d8 (patch)
tree7e65e6b32affe49653c48c0c0b6a8bd34c4a4d00
parente7ead36f90a8a963e532c4cc14dc973c456e9fed (diff)
downloadmailfromd-1c0fc0cef63f1cb0687961cafbc392b9afd141d8.tar.gz
mailfromd-1c0fc0cef63f1cb0687961cafbc392b9afd141d8.tar.bz2
Bugfix
* mfd/mu_dbm.c (mu_dbm_errcall_fcn): Fix arguments for BDBv4.
-rw-r--r--mfd/mu_dbm.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/mfd/mu_dbm.c b/mfd/mu_dbm.c
index 8104d13b..4b7d7547 100644
--- a/mfd/mu_dbm.c
+++ b/mfd/mu_dbm.c
@@ -358,7 +358,13 @@ make_lockfile (char *name, int lktype, int *pfd, char **plockname)
#endif
static void
-mu_dbm_errcall_fcn (const char *errpfx, char *msg)
+mu_dbm_errcall_fcn
+#if DB_VERSION_MAJOR == 3
+ (const char *errpfx, char *msg)
+#else
+ (const DB_ENV *env_unused,
+ const char *errpfx, const char *msg)
+#endif
{
if (errpfx)
mu_error ("%s: %s: %s", errpfx, _("Berkeley DB error"), msg);

Return to:

Send suggestions and report system problems to the System administrator.