diff options
Diffstat (limited to 'contrib/sendmail/libsmdb/smdb.c')
-rw-r--r-- | contrib/sendmail/libsmdb/smdb.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/sendmail/libsmdb/smdb.c b/contrib/sendmail/libsmdb/smdb.c index 74d42e2..96473b8 100644 --- a/contrib/sendmail/libsmdb/smdb.c +++ b/contrib/sendmail/libsmdb/smdb.c @@ -198,12 +198,16 @@ smdb_open_database(database, db_name, mode, mode_mask, sff, type, user_info, SMDB_USER_INFO *user_info; SMDB_DBPARAMS *params; { +#if defined(NEWDB) && defined(NDBM) bool type_was_default = false; +#endif if (type == SMDB_TYPE_DEFAULT) { - type_was_default = true; #ifdef NEWDB +# ifdef NDBM + type_was_default = true; +# endif type = SMDB_TYPE_HASH; #else /* NEWDB */ # ifdef NDBM |