diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2004-11-10 20:38:06 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2004-11-10 20:38:06 +0000 |
commit | cfde1cceb2c9c460036fd512e3bac1d579c74af6 (patch) | |
tree | c396c99a28efbdab430ce8eb6fbcb8c25367ebf5 /gssapi.c | |
parent | 4f3f4551ff4f97d6278956fc525a78c1fe0866fa (diff) | |
download | fetchmail-cfde1cceb2c9c460036fd512e3bac1d579c74af6.tar.gz fetchmail-cfde1cceb2c9c460036fd512e3bac1d579c74af6.tar.bz2 fetchmail-cfde1cceb2c9c460036fd512e3bac1d579c74af6.zip |
Misc. sprintf and pid_t fixes.
svn path=/trunk/; revision=4000
Diffstat (limited to 'gssapi.c')
-rw-r--r-- | gssapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -57,7 +57,7 @@ int do_gssauth(int sock, char *command, char *service, char *hostname, char *use int result; /* first things first: get an imap ticket for host */ - sprintf(buf1, "%s@%s", service, hostname); + snprintf(buf1, sizeof(buf1), "%s@%s", service, hostname); request_buf.value = buf1; request_buf.length = strlen(buf1) + 1; maj_stat = gss_import_name(&min_stat, &request_buf, GSS_C_NT_HOSTBASED_SERVICE, |