aboutsummaryrefslogtreecommitdiff
path: root/src/db.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/db.c')
-rw-r--r--src/db.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/db.c b/src/db.c
index d8efaa6f..4ab865da 100644
--- a/src/db.c
+++ b/src/db.c
@@ -1,8 +1,8 @@
-/* This file is part of mailfromd.
- Copyright (C) 2005, 2006, 2007 Sergey Poznyakoff
+/* This file is part of Mailfromd.
+ Copyright (C) 2005, 2006, 2007, 2008 Sergey Poznyakoff
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later version.
@@ -125,13 +125,13 @@ db_enumerate(DBM_FILE *db, db_enum_func fun, void *data)
mu_dbm_datum_free(&key);
break;
}
} else {
mu_error(_("Cannot fetch data `%*.*s' from `%s': %s"),
MU_DATUM_SIZE(key), MU_DATUM_SIZE(key),
- MU_DATUM_PTR(key),
+ (char*) MU_DATUM_PTR(key),
db->name,
mu_dbm_strerror());
rc = 1;
}
}
if (res != MU_ERR_NOENT) {
@@ -324,13 +324,13 @@ db_compact_func(DBM_DATUM key, DBM_DATUM contents, void *data)
dp->rc = 1;
}
free(p);
} else if (mu_dbm_insert(&dp->ndb, key, contents, 1)) {
mu_error(_("Cannot insert datum `%*.*s' into `%s': %s"),
MU_DATUM_SIZE(key), MU_DATUM_SIZE(key),
- MU_DATUM_PTR(key),
+ (char*) MU_DATUM_PTR(key),
dp->ndb.name,
mu_dbm_strerror());
dp->rc = 1;
}
}
return 0;

Return to:

Send suggestions and report system problems to the System administrator.