diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-12-25 17:15:15 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-12-25 17:15:15 +0000 |
commit | 6cb7b0c0acdfc49e289fedfb3d1c29103f47a2e6 (patch) | |
tree | 00d02974de45b6b2920d4f4929c99b854ece1ba9 /lib/vtls/vtls.c | |
parent | 38aaf6c380210c5261f8c2ce2823380845c539fb (diff) |
vtls: Use bool for Curl_ssl_getsessionid() return type
The return type of this function is a boolean value, and even uses a
bool internally, so use bool in the function declaration as well as
the variables that store the return value, to avoid any confusion.
Diffstat (limited to 'lib/vtls/vtls.c')
-rw-r--r-- | lib/vtls/vtls.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/vtls/vtls.c b/lib/vtls/vtls.c index 960f76c17..905ddd3e9 100644 --- a/lib/vtls/vtls.c +++ b/lib/vtls/vtls.c @@ -316,9 +316,9 @@ Curl_ssl_connect_nonblocking(struct connectdata *conn, int sockindex, * Check if there's a session ID for the given connection in the cache, and if * there's one suitable, it is provided. Returns TRUE when no entry matched. */ -int Curl_ssl_getsessionid(struct connectdata *conn, - void **ssl_sessionid, - size_t *idsize) /* set 0 if unknown */ +bool Curl_ssl_getsessionid(struct connectdata *conn, + void **ssl_sessionid, + size_t *idsize) /* set 0 if unknown */ { struct curl_ssl_session *check; struct SessionHandle *data = conn->data; |