Make context global.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2701 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-08-04 18:20:36 +00:00
parent 5cd6b4ba84
commit a0464f4b20
7 changed files with 141 additions and 146 deletions

View File

@@ -43,7 +43,7 @@ RCSID("$Id$");
struct timeval now;
hdb_entry*
db_fetch(krb5_context context, krb5_principal principal)
db_fetch(krb5_principal principal)
{
HDB *db;
hdb_entry *ent;
@@ -51,7 +51,7 @@ db_fetch(krb5_context context, krb5_principal principal)
ret = hdb_open(context, &db, NULL, O_RDONLY, 0);
if (ret) {
kdc_log(context, 0, "Failed to open database: %s",
kdc_log(0, "Failed to open database: %s",
krb5_get_err_text(context, ret));
return NULL;
}