diff options
Diffstat (limited to 'src/db.c')
-rw-r--r-- | src/db.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* This file is part of mailfromd. | 1 | /* This file is part of Mailfromd. |
2 | Copyright (C) 2005, 2006, 2007 Sergey Poznyakoff | 2 | Copyright (C) 2005, 2006, 2007, 2008 Sergey Poznyakoff |
3 | 3 | ||
4 | This program is free software; you can redistribute it and/or modify | 4 | This program is free software; you can redistribute it and/or modify |
5 | it under the terms of the GNU General Public License as published by | 5 | it under the terms of the GNU General Public License as published by |
@@ -128,7 +128,7 @@ db_enumerate(DBM_FILE *db, db_enum_func fun, void *data) | |||
128 | } else { | 128 | } else { |
129 | mu_error(_("Cannot fetch data `%*.*s' from `%s': %s"), | 129 | mu_error(_("Cannot fetch data `%*.*s' from `%s': %s"), |
130 | MU_DATUM_SIZE(key), MU_DATUM_SIZE(key), | 130 | MU_DATUM_SIZE(key), MU_DATUM_SIZE(key), |
131 | MU_DATUM_PTR(key), | 131 | (char*) MU_DATUM_PTR(key), |
132 | db->name, | 132 | db->name, |
133 | mu_dbm_strerror()); | 133 | mu_dbm_strerror()); |
134 | rc = 1; | 134 | rc = 1; |
@@ -327,7 +327,7 @@ db_compact_func(DBM_DATUM key, DBM_DATUM contents, void *data) | |||
327 | } else if (mu_dbm_insert(&dp->ndb, key, contents, 1)) { | 327 | } else if (mu_dbm_insert(&dp->ndb, key, contents, 1)) { |
328 | mu_error(_("Cannot insert datum `%*.*s' into `%s': %s"), | 328 | mu_error(_("Cannot insert datum `%*.*s' into `%s': %s"), |
329 | MU_DATUM_SIZE(key), MU_DATUM_SIZE(key), | 329 | MU_DATUM_SIZE(key), MU_DATUM_SIZE(key), |
330 | MU_DATUM_PTR(key), | 330 | (char*) MU_DATUM_PTR(key), |
331 | dp->ndb.name, | 331 | dp->ndb.name, |
332 | mu_dbm_strerror()); | 332 | mu_dbm_strerror()); |
333 | dp->rc = 1; | 333 | dp->rc = 1; |