cc_ccache_set_principal always returns error 227
authorAlexandra Ellwood <lxs@mit.edu>
Tue, 25 Sep 2007 02:36:48 +0000 (02:36 +0000)
committerAlexandra Ellwood <lxs@mit.edu>
Tue, 25 Sep 2007 02:36:48 +0000 (02:36 +0000)
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

index 93c0c46d11a3ab8bad5320fceafb09ee3bacf179..230294b535ae28b4339437dc68573e5f8fdebec1 100644 (file)
@@ -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) {