From: Philipp Takacs Date: Mon, 3 Oct 2022 23:27:19 +0000 (+0200) Subject: Fix recipient counting in spost X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=82d4bcc8b86574c2e3cbe1b01cefc66a509947b8;p=mmh Fix recipient counting in spost The wrong variable was added to the recipient count. This could lead to a to small **argv for exec. --- diff --git a/uip/spost.c b/uip/spost.c index fd0cbcc..ea032d2 100644 --- a/uip/spost.c +++ b/uip/spost.c @@ -458,7 +458,7 @@ putfmt(char *name, char *str, FILE *out) if (hdr->flags & HTRY) { addr_end->m_next = recipients; recipients = addr_start.m_next; - recipientsc += i; + recipientsc += addrc; } }