From: Ezra Peisach Date: Tue, 17 Dec 1996 22:10:10 +0000 (+0000) Subject: Do not compare an int to NULL. Under Linux, warning about a pointer to int X-Git-Tag: krb5-1.1-beta1~1410 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b0dba5fdfd9938fc1712cc3dc5e0ae34d2af8d33;p=krb5.git Do not compare an int to NULL. Under Linux, warning about a pointer to int comparision. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9638 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin/cli/ChangeLog b/src/kadmin/cli/ChangeLog index 3f8f2ec48..db4103987 100644 --- a/src/kadmin/cli/ChangeLog +++ b/src/kadmin/cli/ChangeLog @@ -1,3 +1,7 @@ +Tue Dec 17 17:08:04 1996 Ezra Peisach + + * kadmin.c (kadmin_startup): Do not compare an int to NULL. + Tue Dec 3 15:39:11 1996 Barry Jaspan * kadmin.c (kadmin_addprinc): print warning/notice about no policy diff --git a/src/kadmin/cli/kadmin.c b/src/kadmin/cli/kadmin.c index b881681d2..7e630fff9 100644 --- a/src/kadmin/cli/kadmin.c +++ b/src/kadmin/cli/kadmin.c @@ -284,7 +284,7 @@ char *kadmin_startup(argc, argv) } krb5_free_principal(context, princ); freeprinc++; - } else if (use_keytab != NULL) { + } else if (use_keytab != 0) { if (retval = krb5_sname_to_principal(context, NULL, "host", KRB5_NT_SRV_HST,