aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-08-02 17:47:14 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-08-02 17:47:14 +0000
commit82d0e434b7e59e92893711225011e942629b3080 (patch)
tree11e774da17d63831697461cd6563c5643edbf42d /driver.c
parent7cd8c4f5233ec94344a340d219eae92db1b3038c (diff)
downloadfetchmail-82d0e434b7e59e92893711225011e942629b3080.tar.gz
fetchmail-82d0e434b7e59e92893711225011e942629b3080.tar.bz2
fetchmail-82d0e434b7e59e92893711225011e942629b3080.zip
Heimdal GSSAPI patches.
svn path=/trunk/; revision=2533
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/driver.c b/driver.c
index 2be446c4..87a299da 100644
--- a/driver.c
+++ b/driver.c
@@ -1243,11 +1243,18 @@ const char *canonical; /* server name */
krb5_auth_con_free(context, auth_context);
if (retval) {
+#ifdef HEIMDAL
+ if (err_ret && err_ret->e_text) {
+ report(stderr, _("krb5_sendauth: %s [server says '%*s'] \n"),
+ error_message(retval),
+ err_ret->e_text);
+#else
if (err_ret && err_ret->text.length) {
report(stderr, _("krb5_sendauth: %s [server says '%*s'] \n"),
error_message(retval),
err_ret->text.length,
err_ret->text.data);
+#endif
krb5_free_error(context, err_ret);
} else
report(stderr, "krb5_sendauth: %s\n", error_message(retval));