]>
Commit | Line | Data |
---|---|---|
58f893c4 | 1 | --- postfix-1.1.11/src/util/dict_db.c.org Thu Oct 31 14:39:28 2002 |
2 | +++ postfix-1.1.11/src/util/dict_db.c Thu Oct 31 14:38:52 2002 | |
3 | @@ -520,7 +520,7 @@ | |
4 | msg_fatal("set DB cache size %d: %m", DICT_DB_CACHE_SIZE); | |
5 | if (type == DB_HASH && db->set_h_nelem(db, DICT_DB_NELM) != 0) | |
6 | msg_fatal("set DB hash element count %d: %m", DICT_DB_NELM); | |
7 | - if ((errno = db->open(db, db_path, 0, type, db_flags, 0644)) != 0) | |
8 | + if ((errno = db->open(db, NULL, db_path, 0, type, db_flags, 0644)) != 0) | |
9 | msg_fatal("open database %s: %m", db_path); | |
10 | if ((errno = db->fd(db, &dbfd)) != 0) | |
11 | msg_fatal("get database file descriptor: %m"); |