From 3e7a974eb684cead5251198c50f5f4f735009a99 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Thu, 4 Apr 1996 20:33:41 +0000 Subject: [PATCH] Always call k_afsklog with realm == NULL git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@382 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/xnlock/xnlock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appl/xnlock/xnlock.c b/appl/xnlock/xnlock.c index c874796ad..365934ccc 100644 --- a/appl/xnlock/xnlock.c +++ b/appl/xnlock/xnlock.c @@ -614,7 +614,7 @@ GetPasswd(Widget w, XEvent *_event, String *_s, Cardinal *_n) int code; if (k_hasafs()) { - if ((code = k_afsklog(NULL, realm)) != KSUCCESS + if ((code = k_afsklog(NULL, NULL)) != KSUCCESS && code != KDC_PR_UNKNOWN) fprintf(stderr, "%s: Warning %s\n",