diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-12-15 16:17:21 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-12-15 16:17:21 +0000 |
commit | f50d39cc0c9f8487dde51788940bbce975a43503 (patch) | |
tree | d2d17ab0d82ffcdd26023d7c72a13c74d9bb3385 /sink.c | |
parent | 887cd3b25843477b742915fb5f365ad01e93b630 (diff) | |
download | fetchmail-f50d39cc0c9f8487dde51788940bbce975a43503.tar.gz fetchmail-f50d39cc0c9f8487dde51788940bbce975a43503.tar.bz2 fetchmail-f50d39cc0c9f8487dde51788940bbce975a43503.zip |
gcc -Wall cleanup.
svn path=/trunk/; revision=2278
Diffstat (limited to 'sink.c')
-rw-r--r-- | sink.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -15,6 +15,7 @@ #include <errno.h> #include <string.h> #include <signal.h> +#include <time.h> #ifdef HAVE_MEMORY_H #include <memory.h> #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 |