aboutsummaryrefslogtreecommitdiffstats
path: root/sink.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2004-11-10 20:38:06 +0000
committerMatthias Andree <matthias.andree@gmx.de>2004-11-10 20:38:06 +0000
commitcfde1cceb2c9c460036fd512e3bac1d579c74af6 (patch)
treec396c99a28efbdab430ce8eb6fbcb8c25367ebf5 /sink.c
parent4f3f4551ff4f97d6278956fc525a78c1fe0866fa (diff)
downloadfetchmail-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sink.c b/sink.c
index 176f638c..1d379a5b 100644
--- a/sink.c
+++ b/sink.c
@@ -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"));