Thread (5 messages) flat view 5 messages, 3 authors, 2016-06-15

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

From: Modestas Vainius <hidden>
Date: 2016-06-15 22:55:43

Hello,

Saturday 12 January 2013 06:25:21 rašė:
On Sat, Jan 12, 2013 at 03:59:52PM +0200, Modestas Vainius wrote:
quoted
@@ -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.
Yeah, sorry about that. I will fix it.

-- 
Modestas Vainius [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help