summaryrefslogtreecommitdiff
path: root/pith/send.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2020-06-08 17:19:07 -0600
committerEduardo Chappa <chappa@washington.edu>2020-06-08 17:19:07 -0600
commitd741ceda2bd53d15d48fc1b9c4d836a9016194a7 (patch)
tree65800837f16908a3ff6f6094311f74272e10af99 /pith/send.c
parenta340c0ecbfb80335b11bd5d5c50d130ba86b2812 (diff)
downloadalpine-d741ceda2bd53d15d48fc1b9c4d836a9016194a7.tar.xz
* Remove some compilation warnings given by clang7.
Diffstat (limited to 'pith/send.c')
-rw-r--r--pith/send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pith/send.c b/pith/send.c
index 39295a9e..80db83f8 100644
--- a/pith/send.c
+++ b/pith/send.c
@@ -4297,7 +4297,7 @@ pine_rfc822_output_body(struct mail_bodystruct *body, soutr_t f, void *s)
#ifdef SMIME
if(ps_global->smime && ps_global->smime->do_sign
&& strlen(tmp) < sizeof(tmp)-2)
- strncat(tmp, "\015\012", sizeof(tmp) - strlen(tmp));
+ strncat(tmp, "\015\012", sizeof(tmp) - strlen(tmp) - 1);
#endif
if(lmc.so && !lmc.all_written){
so_puts(lmc.so, t);