gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 19/116: setopt: fix CURLOPT_SSH_AUTH_TYPES option r


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 19/116: setopt: fix CURLOPT_SSH_AUTH_TYPES option read
Date: Tue, 05 Dec 2017 14:50:49 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 961c8667d228ede745aa5166d7f6f6d7dd3c267c
Author: Daniel Stenberg <address@hidden>
AuthorDate: Fri Oct 27 22:56:33 2017 +0200

    setopt: fix CURLOPT_SSH_AUTH_TYPES option read
    
    Regression since f121575c0b5f
    
    Reported-by: Rob Cotrone
---
 lib/url.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/url.c b/lib/url.c
index f79380945..03ee0855a 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2711,7 +2711,7 @@ CURLcode Curl_setopt(struct Curl_easy *data, CURLoption 
option,
     arg = va_arg(param, long);
     if(arg < CURLSSH_AUTH_NONE)
       return CURLE_BAD_FUNCTION_ARGUMENT;
-    data->set.ssh_auth_types = va_arg(param, long);
+    data->set.ssh_auth_types = arg;
     break;
 
   case CURLOPT_SSH_PUBLIC_KEYFILE:

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]