diff options
Diffstat (limited to 'crypto/heimdal/lib/hdb/print.c')
-rw-r--r-- | crypto/heimdal/lib/hdb/print.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crypto/heimdal/lib/hdb/print.c b/crypto/heimdal/lib/hdb/print.c index 548a47a..5ad172f 100644 --- a/crypto/heimdal/lib/hdb/print.c +++ b/crypto/heimdal/lib/hdb/print.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999-2001 Kungliga Tekniska Högskolan + * Copyright (c) 1999-2002 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * @@ -33,7 +33,7 @@ #include "hdb_locl.h" #include <ctype.h> -RCSID("$Id: print.c,v 1.7 2001/07/13 06:30:42 assar Exp $"); +RCSID("$Id: print.c,v 1.8 2002/05/24 15:18:02 joda Exp $"); /* This is the present contents of a dump line. This might change at @@ -71,7 +71,7 @@ append_string(krb5_context context, krb5_storage *sp, const char *fmt, ...) krb5_set_error_string(context, "malloc: out of memory"); return ENOMEM; } - ret = sp->store(sp, s, strlen(s)); + ret = krb5_storage_write(sp, s, strlen(s)); free(s); return ret; } @@ -226,7 +226,7 @@ hdb_entry2string (krb5_context context, hdb_entry *ent, char **str) return ret; } - sp->store(sp, "\0", 1); + krb5_storage_write(sp, "\0", 1); krb5_storage_to_data(sp, &data); krb5_storage_free(sp); *str = data.data; @@ -256,7 +256,7 @@ hdb_print_entry(krb5_context context, HDB *db, hdb_entry *entry, void *data) return ret; } - sp->store(sp, "\n", 1); + krb5_storage_write(sp, "\n", 1); krb5_storage_free(sp); return 0; } |