From 4e95612f63bd58216d78c37575f3866037fb6c6e Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Mon, 28 Sep 2009 21:27:39 +0000 Subject: [PATCH] pull up r22424 from trunk ------------------------------------------------------------------------ r22424 | ghudson | 2009-06-26 21:00:05 -0400 (Fri, 26 Jun 2009) | 7 lines ticket: 6519 tags: pullup target_version: 1.7 In krb5_copy_error_message, pass correct pointer to krb5int_clear_error. ticket: 6519 version_fixed: 1.7.1 status: resolved git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-7@22804 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