changeset 6:f96ca37be746

Fix sending to more than 2 recipients
author Adam Chlipala <adam@chlipala.net>
date Thu, 04 Feb 2016 09:23:10 -0500
parents d163044ae493
children 4a0de889bcec
files mail.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mail.c	Sat Dec 26 14:15:54 2015 -0500
+++ b/mail.c	Thu Feb 04 09:23:10 2016 -0500
@@ -215,6 +215,8 @@
       uw_set_error_message(ctx, "Mail server doesn't respond to %s RCPT TO with code 250.", kind);
       return 1;
     }
+
+    s = p+1;
   }
 
   if (*s) {