From 0472908a15920a261b81165a72f253ca11f0ff72 Mon Sep 17 00:00:00 2001 From: Alexandra Ellwood Date: Tue, 25 Sep 2007 02:36:48 +0000 Subject: [PATCH] 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 --- src/ccapi/server/ccs_ccache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.26.2