summaryrefslogtreecommitdiffabout
path: root/src/bi_db.m4
Side-by-side diff
Diffstat (limited to 'src/bi_db.m4') (more/less context) (ignore whitespace changes)
-rw-r--r--src/bi_db.m415
1 files changed, 8 insertions, 7 deletions
diff --git a/src/bi_db.m4 b/src/bi_db.m4
index bb0b9f4..f366008 100644
--- a/src/bi_db.m4
+++ b/src/bi_db.m4
@@ -1,3 +1,3 @@
-/* This file is part of mailfromd. -*- c -*-
- Copyright (C) 2006, 2007 Sergey Poznyakoff
+/* This file is part of Mailfromd. -*- c -*-
+ Copyright (C) 2006, 2007, 2008 Sergey Poznyakoff
@@ -139,3 +139,3 @@ MF_DEFUN(dbdel, VOID, STRING dbname, STRING keystr, OPTIONAL, NUMBER null)
_("Failed to delete data `%s' from `%s': %s"),
- key,
+ keystr,
dbname,
@@ -240,5 +240,6 @@ MF_DEFUN(greylist, NUMBER, STRING email, NUMBER interval)
if (mu_dbm_insert(&db, key, contents, 1))
- mu_error(_("Cannot insert datum `%s' in "
+ mu_error(_("Cannot insert datum `%-.*s' in "
"greylist database %s: %s"),
- key,
+ MU_DATUM_SIZE(key),
+ (char*)MU_DATUM_PTR(key),
greylist_format->dbname,
@@ -261,5 +262,5 @@ MF_DEFUN(greylist, NUMBER, STRING email, NUMBER interval)
if (mu_dbm_insert(&db, key, contents, 1))
- mu_error(_("Cannot insert datum `%s' in greylist "
+ mu_error(_("Cannot insert datum `%-.*s' in greylist "
"database %s: %s"),
- key,
+ MU_DATUM_SIZE(key), (char*)MU_DATUM_PTR(key),
greylist_format->dbname,

Return to:

Send suggestions and report system problems to the System administrator.