From 7186b46b921ab1a35e74b3f04cba6f551860ad7c Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Sat, 27 Jun 2009 01:00:05 +0000 Subject: [PATCH] In krb5_copy_error_message, pass correct pointer to krb5int_clear_error. ticket: 6519 tags: pullup target_version: 1.7 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22424 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/kerrs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/krb5/krb/kerrs.c b/src/lib/krb5/krb/kerrs.c index b7e4fc1c7..51f1eca97 100644 --- a/src/lib/krb5/krb/kerrs.c +++ b/src/lib/krb5/krb/kerrs.c @@ -108,7 +108,7 @@ krb5_copy_error_message (krb5_context dest_ctx, krb5_context src_ctx) krb5int_set_error(&dest_ctx->err, src_ctx->err.code, "%s", src_ctx->err.msg); } else { - krb5int_clear_error(dest_ctx); + krb5int_clear_error(&dest_ctx->err); } } -- 2.26.2