From: Jeffrey Altman Date: Fri, 30 Jun 2006 00:46:14 +0000 (+0000) Subject: fix stdcc.c to build without USE_CCAPI_V3 X-Git-Tag: krb5-1.6-alpha1~235 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5d7df2cfaae8f27f355f11bd09ecb635f5523180;p=krb5.git fix stdcc.c to build without USE_CCAPI_V3 stdcc.c: should build without USE_CCAPI_V3 ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18278 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/ccache/ccapi/stdcc.c b/src/lib/krb5/ccache/ccapi/stdcc.c index cd4a1f3d7..ff3e9a836 100644 --- a/src/lib/krb5/ccache/ccapi/stdcc.c +++ b/src/lib/krb5/ccache/ccapi/stdcc.c @@ -191,8 +191,13 @@ static krb5_error_code cc_err_xlate(int err) { const struct err_xlate *p; +#ifdef USE_CCAPI_V3 if (err == ccNoError) return 0; +#else + if (err == CC_NOERROR) + return 0; +#endif for (p = err_xlate_table; p->cc_err; p++) { if (err == p->cc_err)