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 /transact.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 'transact.c')
-rw-r--r-- | transact.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1148,8 +1148,9 @@ int readheaders(int sock, VERSION); if (ctl->tracepolls) { - sprintf(buf + strlen(buf), " polling %s account %s", - ctl->server.pollname, + snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), + " polling %s account %s", + ctl->server.pollname, ctl->remotename); } snprintf(buf+strlen(buf), sizeof(buf)-strlen(buf), ")\r\n"); |