summaryrefslogtreecommitdiff
path: root/kerberosIV/kdb/krb_lib.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1997-12-12 11:29:27 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1997-12-12 11:29:27 +0000
commit390045d41f0f925904ec89d6771a384ac0bebdb5 (patch)
treeec00f7265ef398de9be021f15d518de352ac2ac3 /kerberosIV/kdb/krb_lib.c
parent91fd22b210ba01ba83638017a0cc1750f2aeea5a (diff)
cleanup, check pointers, fix strcpy's, etc.
Diffstat (limited to 'kerberosIV/kdb/krb_lib.c')
-rw-r--r--kerberosIV/kdb/krb_lib.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/kerberosIV/kdb/krb_lib.c b/kerberosIV/kdb/krb_lib.c
index 4503dda02f8..81bd0d48eb9 100644
--- a/kerberosIV/kdb/krb_lib.c
+++ b/kerberosIV/kdb/krb_lib.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: krb_lib.c,v 1.5 1997/12/12 11:29:25 art Exp $ */
/* $KTH: krb_lib.c,v 1.11 1997/05/07 01:36:08 assar Exp $ */
/*
@@ -219,7 +220,7 @@ kerb_get_dba(char *name, char *inst, Dba *dba, unsigned int max, int *more)
#ifdef DEBUG
if (kerb_debug & 1)
fprintf(stderr, "\n%s: kerb_get_dba for %s %s max = %d\n",
- progname, name, inst, max);
+ progname, name, inst, max);
#endif
/*
* if this is a request including a wild card, have to go to db
@@ -255,5 +256,5 @@ kerb_get_dba(char *name, char *inst, Dba *dba, unsigned int max, int *more)
kerb_cache_put_dba(dba, found);
}
#endif
- return (found);
+ return found;
}