Skip to content

Commit

Permalink
vtls: fix warning due to function prototype mismatch
Browse files Browse the repository at this point in the history
b09c8ee changed the function prototype. Caught by Visual Studio.
  • Loading branch information
jay committed Jun 21, 2021
1 parent 765e060 commit b31d9cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/vtls/vtls.c
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lib/vtls/vtls.h
Expand Up @@ -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);
Expand Down

0 comments on commit b31d9cc

Please sign in to comment.