From: John Carr Date: Wed, 3 Apr 1991 14:15:38 +0000 (+0000) Subject: krb5_error.error is an unsigned type; error.error < 0 is always false X-Git-Tag: krb5-1.0-alpha5~117 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f3a2ea9b040dc6283347041b04ecd1c93c72d280;p=krb5.git 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 --- 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;