Skip to content
Snippets Groups Projects
Commit bb4eb589 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Curl_ssl_getsessionid: increase the value, not the pointer

parent fc8809f9
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment