diff options
Diffstat (limited to 'kerberosIV/krb/get_cred.c')
-rw-r--r-- | kerberosIV/krb/get_cred.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kerberosIV/krb/get_cred.c b/kerberosIV/krb/get_cred.c index 03d38bf4fce..b9679519a86 100644 --- a/kerberosIV/krb/get_cred.c +++ b/kerberosIV/krb/get_cred.c @@ -1,3 +1,4 @@ +/* $OpenBSD: get_cred.c,v 1.3 1997/12/09 07:57:15 art Exp $ */ /* $KTH: get_cred.c,v 1.6 1997/05/30 17:38:29 bg Exp $ */ /* @@ -41,7 +42,7 @@ krb_get_cred(char *service, /* Service name */ int tf_status; /* return value of tf function calls */ CREDENTIALS cr; - if (c == 0) + if (c == NULL) c = &cr; /* Open ticket file and lock it for shared reading */ |