diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2011-11-17 23:46:29 +0100 | 
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2011-11-17 23:46:29 +0100 | 
| commit | bb4eb589969c6191720295e59d510cb1d8f9c0ce (patch) | |
| tree | 83187ff125d36f7bf0acc8ad1a25c5fd53041cc9 /lib | |
| parent | fc8809f9939c368a16ae56bd5d4dad62affee2f2 (diff) | |
Curl_ssl_getsessionid: increase the value, not the pointer
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/sslgen.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/sslgen.c b/lib/sslgen.c index 262ce42c4..23c07e73b 100644 --- a/lib/sslgen.c +++ b/lib/sslgen.c @@ -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) | 
