From ff49d0fb1339ac573f5d67d31fb4ab50393454ff Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Fri, 28 Apr 1995 19:35:24 +0000 Subject: [PATCH] Oops, checked in wrote version of gss-misc git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5627 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/gss-sample/gss-misc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/appl/gss-sample/gss-misc.c b/src/appl/gss-sample/gss-misc.c index d43928b1c..f4478aa7b 100644 --- a/src/appl/gss-sample/gss-misc.c +++ b/src/appl/gss-sample/gss-misc.c @@ -188,12 +188,15 @@ static void display_status_1(m, code, type) gss_buffer_desc msg; int msg_ctx; + if (display_file == 0) + display_file = stderr; + msg_ctx = 0; while (1) { maj_stat = gss_display_status(&min_stat, code, type, GSS_C_NULL_OID, &msg_ctx, &msg); - fprintf(stderr, "GSS-API error %s: %s\n", m, + fprintf(display_file, "GSS-API error %s: %s\n", m, (char *)msg.value); (void) gss_release_buffer(&min_stat, &msg); -- 2.26.2