aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls/nss.c
diff options
context:
space:
mode:
authorPatrick Monnerat <patrick@monnerat.net>2017-10-19 19:55:17 +0100
committerPatrick Monnerat <patrick@monnerat.net>2017-10-19 19:55:17 +0100
commit8aee8a6a2d779a52f8d7fd6f0dc2f529101a3c94 (patch)
tree69991f1b6f4b73e11f538918439ac769f573a461 /lib/vtls/nss.c
parenta4fc19eb4d97cd9f5b9415f85c54acc8d2f63540 (diff)
vtls: change struct Curl_ssl `close' field name to `close_one'.
On OS/400, `close' is an ASCII system macro that corrupts the code if not used in a context not targetting the close() system API.
Diffstat (limited to 'lib/vtls/nss.c')
-rw-r--r--lib/vtls/nss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/nss.c b/lib/vtls/nss.c
index c0b7e63ab..a3ef37a12 100644
--- a/lib/vtls/nss.c
+++ b/lib/vtls/nss.c
@@ -2365,7 +2365,7 @@ const struct Curl_ssl Curl_ssl_nss = {
Curl_nss_connect, /* connect */
Curl_nss_connect_nonblocking, /* connect_nonblocking */
Curl_nss_get_internals, /* get_internals */
- Curl_nss_close, /* close */
+ Curl_nss_close, /* close_one */
Curl_none_close_all, /* close_all */
/* NSS has its own session ID cache */
Curl_none_session_free, /* session_free */