From: Greg Hudson Date: Sat, 27 Jun 2009 01:00:05 +0000 (+0000) Subject: In krb5_copy_error_message, pass correct pointer to X-Git-Tag: krb5-1.8-alpha1~423 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7186b46b921ab1a35e74b3f04cba6f551860ad7c;p=krb5.git 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 --- 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); } }