From f50d39cc0c9f8487dde51788940bbce975a43503 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 15 Dec 1998 16:17:21 +0000 Subject: gcc -Wall cleanup. svn path=/trunk/; revision=2278 --- sink.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sink.c') diff --git a/sink.c b/sink.c index 60e157cb..05b67016 100644 --- a/sink.c +++ b/sink.c @@ -15,6 +15,7 @@ #include #include #include +#include #ifdef HAVE_MEMORY_H #include #endif /* HAVE_MEMORY_H */ @@ -445,7 +446,7 @@ int open_sink(struct query *ctl, struct msgblk *msg, else if (ctl->mimemsg & MSG_IS_7BIT) fputs(" BODY=7BIT", sinkfp); - fprintf(sinkfp, " SIZE=%ld\r\n", msg->reallen); + fprintf(sinkfp, " SIZE=%d\r\n", msg->reallen); /* * RFC 1123 requires that the domain name part of the @@ -650,7 +651,7 @@ int open_sink(struct query *ctl, struct msgblk *msg, } if ((ctl->server.esmtp_options & ESMTP_SIZE) && msg->reallen > 0) - sprintf(options + strlen(options), " SIZE=%ld", msg->reallen); + sprintf(options + strlen(options), " SIZE=%d", msg->reallen); /* * Try to get the SMTP listener to take the Return-Path -- cgit v1.2.3