summaryrefslogtreecommitdiff
path: root/imap/src/osdep/unix/unix.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2021-07-31 21:16:15 -0600
committerEduardo Chappa <chappa@washington.edu>2021-07-31 21:16:15 -0600
commit8167f58e118afa658590253f8696c816511c3708 (patch)
treeb79d65ce860848c50449b69ae299898b71c3e322 /imap/src/osdep/unix/unix.c
parentbba1f63e9be0b65c090d1707a6c9168443604ed6 (diff)
downloadalpine-8167f58e118afa658590253f8696c816511c3708.tar.xz
* Clear more warnings given by gcc-10. Work in progress.
Diffstat (limited to 'imap/src/osdep/unix/unix.c')
-rw-r--r--imap/src/osdep/unix/unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap/src/osdep/unix/unix.c b/imap/src/osdep/unix/unix.c
index 97626576..8fec0ee6 100644
--- a/imap/src/osdep/unix/unix.c
+++ b/imap/src/osdep/unix/unix.c
@@ -1735,7 +1735,7 @@ int unix_parse (MAILSTREAM *stream,DOTLOCK *lock,int op)
!compare_cstring (tmp,"X-IMAP") ||
!compare_cstring (tmp,"X-IMAPBASE")) {
char err[MAILTMPLEN];
- sprintf (err,"Discarding bogus %s header in message %lu",
+ sprintf (err,"Discarding bogus %.20s header in message %lu",
(char *) tmp,elt->msgno);
MM_LOG (err,WARN);
retain = NIL; /* don't retain continuation */