mirror of
https://github.com/curl/curl.git
synced 2026-07-24 03:47:18 +03:00
Curl_ssl_getsessionid: increase the value, not the pointer
This commit is contained in:
parent
fc8809f993
commit
bb4eb58996
1 changed files with 1 additions and 1 deletions
|
|
@ -255,7 +255,7 @@ int Curl_ssl_getsessionid(struct connectdata *conn,
|
|||
(conn->remote_port == check->remote_port) &&
|
||||
Curl_ssl_config_matches(&conn->ssl_config, &check->ssl_config)) {
|
||||
/* yes, we have a session ID! */
|
||||
*general_age++; /* increase general age */
|
||||
(*general_age)++; /* increase general age */
|
||||
check->age = *general_age; /* set this as used in this age */
|
||||
*ssl_sessionid = check->sessionid;
|
||||
if(idsize)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue