diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-11-15 20:35:43 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-11-15 21:01:10 +0000 |
commit | ed4ce23c23b658328f2b62d6321a89effc54b747 (patch) | |
tree | 065975229c38c8f7695ec4ec8da0b2f4dfcc21cf /tests/libtest | |
parent | 168aa59705390326c549ed1a8d2878fd22786d04 (diff) |
lib1507.c: Added missing set of CURLOPT_UPLOAD option
Although this option should have already been set, the SMTP module can
now download information from and send instructional commands to, an
SMTP server, requiring the option to be set in order to perform a mail
transfer.
Diffstat (limited to 'tests/libtest')
-rw-r--r-- | tests/libtest/lib1507.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/libtest/lib1507.c b/tests/libtest/lib1507.c index 7c4e6ed06..dec0c3bcf 100644 --- a/tests/libtest/lib1507.c +++ b/tests/libtest/lib1507.c @@ -89,6 +89,7 @@ int test(char *URL) curl_easy_setopt(curl, CURLOPT_USERNAME, USERNAME); curl_easy_setopt(curl, CURLOPT_PASSWORD, PASSWORD); #endif + curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L); curl_easy_setopt(curl, CURLOPT_READFUNCTION, read_callback); curl_easy_setopt(curl, CURLOPT_MAIL_FROM, MAILFROM); curl_easy_setopt(curl, CURLOPT_MAIL_RCPT, rcpt_list); |