From: Theodore Tso Date: Fri, 28 Apr 1995 19:35:24 +0000 (+0000) Subject: Oops, checked in wrote version of gss-misc X-Git-Tag: krb5-1.0-beta5~125 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ff49d0fb1339ac573f5d67d31fb4ab50393454ff;p=krb5.git Oops, checked in wrote version of gss-misc git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5627 dc483132-0cff-0310-8789-dd5450dbe970 --- 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);