aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-12-31 21:52:01 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-12-31 21:52:01 +0000
commit3f3f6be825da333055a1113c4998691b086f4601 (patch)
tree01585ab30e8a0aa6e5e60168b393f8ba71d1f767 /lib/url.c
parent01682cca550802401aefb0538416a17f8271fc88 (diff)
turned CURLOPT_MAIL_RCPT into a curl_slist list instead to support multiple
receivers, and made the command line tool thus support the option specified many times
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/url.c b/lib/url.c
index 05055acba..3f2f1cd72 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2314,8 +2314,8 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
break;
case CURLOPT_MAIL_RCPT:
- result = setstropt(&data->set.str[STRING_MAIL_RCPT],
- va_arg(param, char *));
+ /* get a list of mail recipients */
+ data->set.mail_rcpt = va_arg(param, struct curl_slist *);
break;
default: