From 8aee8a6a2d779a52f8d7fd6f0dc2f529101a3c94 Mon Sep 17 00:00:00 2001 From: Patrick Monnerat Date: Thu, 19 Oct 2017 19:55:17 +0100 Subject: 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. --- lib/vtls/vtls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/vtls/vtls.h') diff --git a/lib/vtls/vtls.h b/lib/vtls/vtls.h index f1a11ea58..c5f9d4a3f 100644 --- a/lib/vtls/vtls.h +++ b/lib/vtls/vtls.h @@ -60,7 +60,7 @@ struct Curl_ssl { CURLcode (*connect_nonblocking)(struct connectdata *conn, int sockindex, bool *done); void *(*get_internals)(struct ssl_connect_data *connssl, CURLINFO info); - void (*close)(struct connectdata *conn, int sockindex); + void (*close_one)(struct connectdata *conn, int sockindex); void (*close_all)(struct Curl_easy *data); void (*session_free)(void *ptr); -- cgit v1.2.3