summaryrefslogtreecommitdiff
path: root/lib/vtls/gskit.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/gskit.c
parenta4fc19eb4d97cd9f5b9415f85c54acc8d2f63540 (diff)
downloadcurl-8aee8a6a2d779a52f8d7fd6f0dc2f529101a3c94.tar.gz
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/gskit.c')
-rw-r--r--lib/vtls/gskit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/gskit.c b/lib/vtls/gskit.c
index ba5faeff8..de496dd12 100644
--- a/lib/vtls/gskit.c
+++ b/lib/vtls/gskit.c
@@ -1375,7 +1375,7 @@ const struct Curl_ssl Curl_ssl_gskit = {
Curl_gskit_connect, /* connect */
Curl_gskit_connect_nonblocking, /* connect_nonblocking */
Curl_gskit_get_internals, /* get_internals */
- Curl_gskit_close, /* close */
+ Curl_gskit_close, /* close_one */
Curl_none_close_all, /* close_all */
/* No session handling for GSKit */
Curl_none_session_free, /* session_free */