aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/sendmail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/sendmail.c b/networking/sendmail.c
index 93617388b..2332f6afb 100644
--- a/networking/sendmail.c
+++ b/networking/sendmail.c
@@ -394,7 +394,7 @@ int sendgetmail_main(int argc UNUSED_PARAM, char **argv)
394 // fetch recipients and (optionally) subject 394 // fetch recipients and (optionally) subject
395 char *s; 395 char *s;
396 while ((s = xmalloc_reads(INITIAL_STDIN_FILENO, NULL, NULL)) != NULL) { 396 while ((s = xmalloc_reads(INITIAL_STDIN_FILENO, NULL, NULL)) != NULL) {
397 if (0 == strncmp("To: ", s, 4)) { 397 if (0 == strncasecmp("To: ", s, 4) || 0 == strncasecmp("Cc: ", s, 4)) {
398 llist_add_to_end(&opt_recipients, s+4); 398 llist_add_to_end(&opt_recipients, s+4);
399/* } else if (0 == strncmp("From: ", s, 6)) { 399/* } else if (0 == strncmp("From: ", s, 6)) {
400 opt_from = s+6; 400 opt_from = s+6;