From: John Kohl Date: Tue, 29 May 1990 15:18:45 +0000 (+0000) Subject: new interface to krb5_cc_default X-Git-Tag: krb5-1.0-alpha2~450 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=85904bdecd2cef74ead65157dbfc0e3a94d6d7fc;p=krb5.git new interface to krb5_cc_default git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@957 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/sample/sclient/sclient.c b/src/appl/sample/sclient/sclient.c index a11eaf385..454c04ac4 100644 --- a/src/appl/sample/sclient/sclient.c +++ b/src/appl/sample/sclient/sclient.c @@ -167,7 +167,10 @@ char *argv[]; exit(1); } - ccdef = krb5_cc_default(); + if (retval = krb5_cc_default(&ccdef)) { + com_err(argv[0], retval, "while getting default ccache"); + exit(1); + } if (retval = krb5_mk_req(server, 0, &send_cksum, ccdef, &send_data)) { com_err(argv[0], retval, "while preparing AP_REQ");