From: Frank Gevaerts Date: Wed, 21 Dec 2016 13:28:02 +0000 (+0100) Subject: CURLOPT_PREQUOTE.3: takes a struct curl_slist*, not a char* X-Git-Tag: curl-7_53_0~99 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2b2c6385239345fe17ce28410da7fb2f25be49a;p=thirdparty%2Fcurl.git CURLOPT_PREQUOTE.3: takes a struct curl_slist*, not a char* --- diff --git a/docs/libcurl/opts/CURLOPT_PREQUOTE.3 b/docs/libcurl/opts/CURLOPT_PREQUOTE.3 index 6b95265e77..2e77e99c23 100644 --- a/docs/libcurl/opts/CURLOPT_PREQUOTE.3 +++ b/docs/libcurl/opts/CURLOPT_PREQUOTE.3 @@ -26,7 +26,8 @@ CURLOPT_PREQUOTE \- commands to run before FTP or SFTP transfer .SH SYNOPSIS #include -CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PREQUOTE, char *cmds); +CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PREQUOTE, + struct curl_slist *cmds); .SH DESCRIPTION Pass a pointer to a linked list of FTP or SFTP commands to pass to the server after the transfer type is set. The linked list should be a fully valid list