From 82d4bcc8b86574c2e3cbe1b01cefc66a509947b8 Mon Sep 17 00:00:00 2001 From: Philipp Takacs Date: Tue, 4 Oct 2022 01:27:19 +0200 Subject: [PATCH] Fix recipient counting in spost The wrong variable was added to the recipient count. This could lead to a to small **argv for exec. --- uip/spost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 1.7.10.4