From 01c9cc98d750b51ebfa1324e5494f57468fd7b0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Wed, 31 Aug 2016 10:35:57 +0000 Subject: [PATCH] [GB.NET.CURL] * NEW: FtpClient: Allow 'ftps' protocol. git-svn-id: svn://localhost/gambas/trunk@7881 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- gb.net.curl/src/CCurl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gb.net.curl/src/CCurl.c b/gb.net.curl/src/CCurl.c index 7603d5760..e2114c069 100644 --- a/gb.net.curl/src/CCurl.c +++ b/gb.net.curl/src/CCurl.c @@ -551,7 +551,7 @@ BEGIN_PROPERTY(Curl_URL) if (GB.Is(THIS, GB.FindClass("FtpClient"))) { protocol = CURL_get_protocol(url, "ftp://"); - if (strcmp(protocol, "ftp://")) + if (strcmp(protocol, "ftp://") && strcmp(protocol, "ftps://")) goto UNKNOWN_PROTOCOL; } else if (GB.Is(THIS, GB.FindClass("HttpClient")))