projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2132e02
)
sendmail: do not ignore CC; accept to: and cc: case-insensitively.
author
Denis Vlasenko
<vda.linux@googlemail.com>
Tue, 15 Jul 2008 20:56:23 +0000
(20:56 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Tue, 15 Jul 2008 20:56:23 +0000
(20:56 -0000)
+20 bytes.
networking/sendmail.c
patch
|
blob
|
history
diff --git
a/networking/sendmail.c
b/networking/sendmail.c
index 93617388b443a53e4d93628362db29d1390ac995..2332f6afba636819ff813be0f7630e3aa823106d 100644
(file)
--- a/
networking/sendmail.c
+++ b/
networking/sendmail.c
@@
-394,7
+394,7
@@
int sendgetmail_main(int argc UNUSED_PARAM, char **argv)
// fetch recipients and (optionally) subject
char *s;
while ((s = xmalloc_reads(INITIAL_STDIN_FILENO, NULL, NULL)) != NULL) {
- if (0 == strnc
mp("To
: ", s, 4)) {
+ if (0 == strnc
asecmp("To: ", s, 4) || 0 == strncasecmp("Cc
: ", s, 4)) {
llist_add_to_end(&opt_recipients, s+4);
/* } else if (0 == strncmp("From: ", s, 6)) {
opt_from = s+6;