aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-09-27 13:24:16 +0200
committerMatthias Andree <matthias.andree@gmx.de>2010-09-27 13:24:16 +0200
commit25a88150b49f7bebafd616745e467c87a9d699d2 (patch)
tree4f18a7051bf9127468ad8bce589dee577742ed02
parent43dc72537228ac7c4819ac70b9737c25ceb9f75a (diff)
downloadfetchmail-25a88150b49f7bebafd616745e467c87a9d699d2.tar.gz
fetchmail-25a88150b49f7bebafd616745e467c87a9d699d2.tar.bz2
fetchmail-25a88150b49f7bebafd616745e467c87a9d699d2.zip
Reduce verbosity of GSSAPI reporting.
-rw-r--r--gssapi.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gssapi.c b/gssapi.c
index 9f366f27..8fd783b3 100644
--- a/gssapi.c
+++ b/gssapi.c
@@ -183,7 +183,8 @@ int do_gssauth(int sock, const char *command, const char *service,
NULL);
if (maj_stat!=GSS_S_COMPLETE && maj_stat!=GSS_S_CONTINUE_NEEDED) {
- decode_status("gss_init_sec_context", maj_stat, min_stat);
+ if (outlevel >= O_VERBOSE)
+ decode_status("gss_init_sec_context", maj_stat, min_stat);
(void)gss_release_name(&min_stat, &target_name);
/* wake up server and cancel authentication */
@@ -192,7 +193,8 @@ int do_gssauth(int sock, const char *command, const char *service,
suppress_tags = FALSE;
result = gen_recv(sock, buf1, sizeof buf1);
- report(stderr, GT_("Error exchanging credentials\n"));
+ if (outlevel >= O_VERBOSE)
+ report(stderr, GT_("Error exchanging credentials\n"));
if (result)
return result;
return PS_AUTHFAIL;