From d741ceda2bd53d15d48fc1b9c4d836a9016194a7 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Mon, 8 Jun 2020 17:19:07 -0600 Subject: * Remove some compilation warnings given by clang7. --- pith/send.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pith/send.c') 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); -- cgit v1.2.3-54-g00ecf