From f3a2ea9b040dc6283347041b04ecd1c93c72d280 Mon Sep 17 00:00:00 2001 From: John Carr Date: Wed, 3 Apr 1991 14:15:38 +0000 Subject: [PATCH] krb5_error.error is an unsigned type; error.error < 0 is always false git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1984 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/recvauth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/krb5/krb/recvauth.c b/src/lib/krb5/krb/recvauth.c index fd391eb7a..57db65364 100644 --- a/src/lib/krb5/krb/recvauth.c +++ b/src/lib/krb5/krb/recvauth.c @@ -202,7 +202,7 @@ krb5_recvauth(/* IN */ krb5_us_timeofday(&error.stime, &error.susec); error.server = server; error.error = problem - ERROR_TABLE_BASE_krb5; - if (error.error < 0 || error.error > 127) + if (error.error > 127) error.error = KRB_ERR_GENERIC; message = error_message(problem); error.text.length = strlen(message) + 1; -- 2.26.2