git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Support FTP-over-SSL/TLS for regular FTP

From
MKMatt Kraai <kraai@ftbfs.org>
Date
Jan 12, 2013, 14:25 UTC
Message-ID
<20130112142521.GA21639@ftbfs.org>
In-Reply-To
<1357999192-877-1-git-send-email-modestas@vainius.eu>
On Sat, Jan 12, 2013 at 03:59:52PM +0200, Modestas Vainius wrote:
Show 12 quoted lines
> @@ -306,6 +311,11 @@ static CURL *get_curl_handle(void)
>  	if (curl_ftp_no_epsv)
>  		curl_easy_setopt(result, CURLOPT_FTP_USE_EPSV, 0);
>  
> +#ifdef CURLOPT_USE_SSL
> +    if (curl_ssl_try)
> +		curl_easy_setopt(result, CURLOPT_USE_SSL, CURLUSESSL_TRY);
> +#endif
> +
>  	if (curl_http_proxy) {
>  		curl_easy_setopt(result, CURLOPT_PROXY, curl_http_proxy);
>  		curl_easy_setopt(result, CURLOPT_PROXYAUTH, CURLAUTH_ANY);
It looks like the indentation of the "if" line you added is messed up.
Previous: Modestas VainiusNext: Modestas Vainius
Message 2 of 5 in “Support FTP-over-SSL/TLS for regular FTP”
  1. Support FTP-over-SSL/TLS for regular FTPModestas Vainius, Jan 12, 2013
  2. Matt KraaiJan 12, 2013
  3. Modestas VainiusJan 12, 2013
  4. Junio C HamanoFeb 25, 2013
  5. Modestas VainiusApr 7, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.