diff options
author | Yang Tse <yangsita@gmail.com> | 2012-01-18 23:39:30 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2012-01-18 23:42:39 +0100 |
commit | d56b4c3f89ad3ee28dc62a22cffe2c85ced19830 (patch) | |
tree | 95962f4316d8b91eb4dafeafd75a093297bb9561 /lib/transfer.c | |
parent | d1becc3231ae570be19858491c5c9f2fe48c1fd7 (diff) |
ssl session caching: fix compiler warnings
Diffstat (limited to 'lib/transfer.c')
-rw-r--r-- | lib/transfer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index e293e8ba2..d6061be58 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -1420,9 +1420,9 @@ CURLcode Curl_pretransfer(struct SessionHandle *data) } /* Init the SSL session ID cache here. We do it here since we want to do it - after the *_setopt() calls (that could change the size of the cache) but + after the *_setopt() calls (that could specify the size of the cache) but before any transfer takes place. */ - res = Curl_ssl_initsessions(data, data->set.ssl.numsessions); + res = Curl_ssl_initsessions(data, data->set.ssl.max_ssl_sessions); if(res) return res; |