git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3707 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-10-29 02:47:58 +00:00
parent f7b1ca2741
commit 35ccb5a15c

View File

@@ -25,7 +25,10 @@ pop_user (POP *p)
} else
#endif
if (p->auth_level != AUTH_NONE) {
char *s = otp_error(&p->otp_ctx);
char *s = NULL;
#ifdef OTP
s = otp_error(&p->otp_ctx);
#endif
return pop_msg(p, POP_FAILURE, "Permission denied%s%s",
s ? ":" : "", s ? s : "");
} else