projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b17ea39
)
Fix recipient counting in spost
author
Philipp Takacs
<philipp@bureaucracy.de>
Mon, 3 Oct 2022 23:27:19 +0000
(
01:27
+0200)
committer
Philipp Takacs
<philipp@bureaucracy.de>
Mon, 3 Oct 2022 23:27:19 +0000
(
01:27
+0200)
The wrong variable was added to the recipient count. This could
lead to a to small **argv for exec.
uip/spost.c
patch
|
blob
|
history
diff --git
a/uip/spost.c
b/uip/spost.c
index
fd0cbcc
..
ea032d2
100644
(file)
--- 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;
}
}