krb5/krb5-1.7-errs.patch

14 lines
492 B
Diff
Raw Normal View History

2009-06-26 21:35:41 +00:00
Type mismatch. RT#TBD
diff -up krb5-1.7/src/lib/krb5/krb/kerrs.c krb5-1.7/src/lib/krb5/krb/kerrs.c
--- krb5-1.7/src/lib/krb5/krb/kerrs.c 2009-06-22 15:01:02.000000000 -0400
+++ krb5-1.7/src/lib/krb5/krb/kerrs.c 2009-06-22 15:01:06.000000000 -0400
@@ -108,7 +108,7 @@ krb5_copy_error_message (krb5_context de
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);
}
}