mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 12:05:06 -05:00
CURLOPT_MAIL_RCPT is *not* a string so we must not try to printf() it
This commit is contained in:
parent
2138ee7628
commit
dc6adb54fb
@ -5159,7 +5159,7 @@ operate(struct Configurable *config, int argc, argv_item_t argv[])
|
|||||||
my_setopt_str(curl, CURLOPT_MAIL_FROM, config->mail_from);
|
my_setopt_str(curl, CURLOPT_MAIL_FROM, config->mail_from);
|
||||||
|
|
||||||
if(config->mail_rcpt)
|
if(config->mail_rcpt)
|
||||||
my_setopt_str(curl, CURLOPT_MAIL_RCPT, config->mail_rcpt);
|
my_setopt(curl, CURLOPT_MAIL_RCPT, config->mail_rcpt);
|
||||||
|
|
||||||
/* curl 7.20.x */
|
/* curl 7.20.x */
|
||||||
if(config->ftp_pret)
|
if(config->ftp_pret)
|
||||||
|
Loading…
Reference in New Issue
Block a user