Pass `database' to hdb_open.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3295 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-08-30 19:33:09 +00:00
parent c50018dcc6
commit fccad9f3ab

View File

@@ -49,7 +49,7 @@ db_fetch(krb5_principal principal)
hdb_entry *ent;
krb5_error_code ret;
ret = hdb_open(context, &db, NULL, O_RDONLY, 0);
ret = hdb_open(context, &db, database, O_RDONLY, 0);
if (ret) {
kdc_log(0, "Failed to open database: %s",
krb5_get_err_text(context, ret));