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 /sink.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 'sink.c')
-rw-r--r-- | sink.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -325,8 +325,8 @@ static int send_bouncemail(struct query *ctl, struct msgblk *msg, } /* our first duty is to keep the sacred foo counters turning... */ - snprintf(boundary, sizeof(boundary), "foo-mani-padme-hum-%d-%d-%ld", - (int)getpid(), (int)getppid(), time((time_t *)NULL)); + snprintf(boundary, sizeof(boundary), "foo-mani-padme-hum-%ld-%ld-%ld", + (long)getpid(), (long)getppid(), time(NULL)); if (outlevel >= O_VERBOSE) report(stdout, GT_("SMTP: (bounce-message body)\n")); |