From 975814368a8b567a369ab5174c42dbae5b28b86e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 12 Feb 2010 22:23:46 +0000 Subject: - Jack Zhang reported a problem with SMTP: we wrongly used multiple addresses in the same RCPT TO line, when they should be sent in separate single commands. I updated test case 802 to verify this. - I also fixed a bad use of my_setopt_str() of CURLOPT_MAIL_RCPT in the curl tool which made it try to output it as string for the --libcurl feature which could lead to crashes. --- lib/smtp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/smtp.h') diff --git a/lib/smtp.h b/lib/smtp.h index a1115e23a..cc581d4d5 100644 --- a/lib/smtp.h +++ b/lib/smtp.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 2009, Daniel Stenberg, , et al. + * Copyright (C) 2009 - 2010, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -49,6 +49,7 @@ struct smtp_conn { int eob; /* number of bytes of the EOB (End Of Body) that has been received thus far */ smtpstate state; /* always use smtp.c:state() to change state! */ + struct curl_slist *rcpt; }; extern const struct Curl_handler Curl_handler_smtp; -- cgit v1.2.3