]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
vtls: fix warning due to function prototype mismatch
authorJay Satiro <raysatiro@yahoo.com>
Sun, 20 Jun 2021 20:42:58 +0000 (16:42 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Mon, 21 Jun 2021 05:59:05 +0000 (01:59 -0400)
b09c8ee changed the function prototype. Caught by Visual Studio.

lib/vtls/vtls.c
lib/vtls/vtls.h

index 82883c9c55e26f72308838151810034fbbd501a9..fe43703bf8b8b31156860fc79c2db82a57dd4bdd 100644 (file)
@@ -497,7 +497,7 @@ void Curl_ssl_delsessionid(struct Curl_easy *data, void *ssl_sessionid)
  */
 CURLcode Curl_ssl_addsessionid(struct Curl_easy *data,
                                struct connectdata *conn,
-                               bool isProxy,
+                               const bool isProxy,
                                void *ssl_sessionid,
                                size_t idsize,
                                int sockindex)
index a0585c9cec4c7ae0e8f3cefffefff7016640a1a8..f1a9b8033ae5833bb7da90eecfe7a9d299010b4f 100644 (file)
@@ -247,7 +247,7 @@ void Curl_ssl_sessionid_unlock(struct Curl_easy *data);
  */
 bool Curl_ssl_getsessionid(struct Curl_easy *data,
                            struct connectdata *conn,
-                           const bool isproxy,
+                           const bool isProxy,
                            void **ssl_sessionid,
                            size_t *idsize, /* set 0 if unknown */
                            int sockindex);