summaryrefslogtreecommitdiff
path: root/lib/share.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-01-18 23:39:30 +0100
committerYang Tse <yangsita@gmail.com>2012-01-18 23:42:39 +0100
commitd56b4c3f89ad3ee28dc62a22cffe2c85ced19830 (patch)
tree95962f4316d8b91eb4dafeafd75a093297bb9561 /lib/share.h
parentd1becc3231ae570be19858491c5c9f2fe48c1fd7 (diff)
downloadcurl-d56b4c3f89ad3ee28dc62a22cffe2c85ced19830.tar.gz
ssl session caching: fix compiler warnings
Diffstat (limited to 'lib/share.h')
-rw-r--r--lib/share.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/share.h b/lib/share.h
index 3148ed00b..b9e6c2538 100644
--- a/lib/share.h
+++ b/lib/share.h
@@ -1,6 +1,5 @@
-#ifndef __CURL_SHARE_H
-#define __CURL_SHARE_H
-
+#ifndef HEADER_CURL_SHARE_H
+#define HEADER_CURL_SHARE_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
@@ -8,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -51,7 +50,7 @@ struct Curl_share {
#endif
struct curl_ssl_session *sslsession;
- unsigned int nsslsession;
+ size_t max_ssl_sessions;
long sessionage;
};
@@ -59,4 +58,4 @@ CURLSHcode Curl_share_lock (struct SessionHandle *, curl_lock_data,
curl_lock_access);
CURLSHcode Curl_share_unlock (struct SessionHandle *, curl_lock_data);
-#endif /* __CURL_SHARE_H */
+#endif /* HEADER_CURL_SHARE_H */