krb5/krb5-1.7-errs.patch
2009-06-26 22:08:03 +00:00

14 lines
493 B
Diff

Type mismatch. RT#6519
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);
}
}