diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2006-03-14 09:10:20 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2006-03-14 09:10:20 +0000 |
commit | 9dc0b8bd674f71f8ee422b037dc409f2dd4f9487 (patch) | |
tree | 32e04cf0045782e10fc3eecc8fa82101b3fb94ec /gssapi.c | |
parent | 20a0097f74bfdec16c17dd7d3eb5968f81ec90c1 (diff) | |
download | fetchmail-9dc0b8bd674f71f8ee422b037dc409f2dd4f9487.tar.gz fetchmail-9dc0b8bd674f71f8ee422b037dc409f2dd4f9487.tar.bz2 fetchmail-9dc0b8bd674f71f8ee422b037dc409f2dd4f9487.zip |
merge Mirek's fetchmail-signed.patch
svn path=/branches/BRANCH_6-3/; revision=4734
Diffstat (limited to 'gssapi.c')
-rw-r--r-- | gssapi.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -69,7 +69,8 @@ int do_gssauth(int sock, char *command, char *service, char *hostname, char *use else if (outlevel >= O_DEBUG) { maj_stat = gss_display_name(&min_stat, target_name, &request_buf, &mech_name); - report(stderr, GT_("Using service name [%s]\n"),request_buf.value); + report(stderr, GT_("Using service name [%s]\n"), + (char *)request_buf.value); maj_stat = gss_release_buffer(&min_stat, &request_buf); } @@ -126,7 +127,7 @@ int do_gssauth(int sock, char *command, char *service, char *hostname, char *use return result; } request_buf.length = from64tobits(buf2, buf1 + 2, sizeof(buf2)); - if (request_buf.length == -1) /* in case of bad data */ + if ((int)request_buf.length == -1) /* in case of bad data */ request_buf.length = 0; request_buf.value = buf2; sec_token = &request_buf; @@ -141,7 +142,7 @@ int do_gssauth(int sock, char *command, char *service, char *hostname, char *use return result; request_buf.length = from64tobits(buf2, buf1 + 2, sizeof(buf2)); - if (request_buf.length == -1) /* in case of bad data */ + if ((int)request_buf.length == -1) /* in case of bad data */ request_buf.length = 0; request_buf.value = buf2; |