From cfde1cceb2c9c460036fd512e3bac1d579c74af6 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 10 Nov 2004 20:38:06 +0000 Subject: Misc. sprintf and pid_t fixes. svn path=/trunk/; revision=4000 --- sink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sink.c') 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")); -- cgit v1.2.3