diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2010-09-27 13:24:16 +0200 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2010-09-27 13:24:16 +0200 |
commit | 25a88150b49f7bebafd616745e467c87a9d699d2 (patch) | |
tree | 4f18a7051bf9127468ad8bce589dee577742ed02 /gssapi.c | |
parent | 43dc72537228ac7c4819ac70b9737c25ceb9f75a (diff) | |
download | fetchmail-25a88150b49f7bebafd616745e467c87a9d699d2.tar.gz fetchmail-25a88150b49f7bebafd616745e467c87a9d699d2.tar.bz2 fetchmail-25a88150b49f7bebafd616745e467c87a9d699d2.zip |
Reduce verbosity of GSSAPI reporting.
Diffstat (limited to 'gssapi.c')
-rw-r--r-- | gssapi.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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; |