From: Alexandra Ellwood Date: Tue, 25 Sep 2007 02:36:48 +0000 (+0000) Subject: cc_ccache_set_principal always returns error 227 X-Git-Tag: krb5-1.7-alpha1~859 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0472908a15920a261b81165a72f253ca11f0ff72;p=krb5.git cc_ccache_set_principal always returns error 227 Was attempting to read the new name from the reply stream. ticket: new target_version: 1.7 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19973 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/ccapi/server/ccs_ccache.c b/src/ccapi/server/ccs_ccache.c index 93c0c46d1..230294b53 100644 --- a/src/ccapi/server/ccs_ccache.c +++ b/src/ccapi/server/ccs_ccache.c @@ -593,7 +593,7 @@ static cc_int32 ccs_ccache_set_principal (ccs_ccache_t io_ccache, if (!io_reply_data ) { err = cci_check_error (ccErrBadParam); } if (!err) { - err = cci_stream_read_string (io_reply_data, &principal); + err = cci_stream_read_string (in_request_data, &principal); } if (!err) {