print messages to stderr
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7603 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -95,7 +95,7 @@ proto (int sock, const char *service)
|
||||
if (GSS_ERROR(maj_stat))
|
||||
gss_err (1, min_stat, "gss_display_name");
|
||||
|
||||
printf ("User is `%.*s'\n", (int)name_token.length,
|
||||
fprintf (stderr, "User is `%.*s'\n", (int)name_token.length,
|
||||
(char *)name_token.value);
|
||||
|
||||
/* gss_verify_mic */
|
||||
@@ -111,7 +111,7 @@ proto (int sock, const char *service)
|
||||
if (GSS_ERROR(maj_stat))
|
||||
gss_err (1, min_stat, "gss_verify_mic");
|
||||
|
||||
printf ("gss_verify_mic: %.*s\n", (int)input_token->length,
|
||||
fprintf (stderr, "gss_verify_mic: %.*s\n", (int)input_token->length,
|
||||
(char *)input_token->value);
|
||||
|
||||
/* gss_unwrap */
|
||||
@@ -127,7 +127,7 @@ proto (int sock, const char *service)
|
||||
if(GSS_ERROR(maj_stat))
|
||||
gss_err (1, min_stat, "gss_unwrap");
|
||||
|
||||
printf ("gss_unwrap: %.*s\n", (int)output_token->length,
|
||||
fprintf (stderr, "gss_unwrap: %.*s\n", (int)output_token->length,
|
||||
(char *)output_token->value);
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user