From ff5f65d631a26311a560764bddf3ee3eb215e243 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Tue, 9 Jun 1992 11:33:53 +0000 Subject: [PATCH] Fixed to use new krb5_principal structure git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2284 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/simple/server/sim_server.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/appl/simple/server/sim_server.c b/src/appl/simple/server/sim_server.c index 7d6525ed6..8024affce 100644 --- a/src/appl/simple/server/sim_server.c +++ b/src/appl/simple/server/sim_server.c @@ -192,7 +192,8 @@ char *argv[]; exit(1); } - if (retval = krb5_get_server_rcache(sprinc[1], &rcache)) { + if (retval = krb5_get_server_rcache(krb5_princ_component(sprinc, 0), + &rcache)) { com_err(PROGNAME, retval, "while opening replay cache"); exit(1); } -- 2.26.2