Skip to content

Commit 6d66f96

Browse files
author
typedeph
committed
Update curl_easy.h
These are some of the current errors I'm running into as I'm building curlcpp for Windows. I'm assuming these are misspellings of the CURLINFO types provided here: https://curl.haxx.se/libcurl/c/curl_easy_getinfo.html
1 parent 101c9bd commit 6d66f96

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/curl_easy.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,19 +125,19 @@ namespace curl {
125125
// This option is avaiable in libcurl 7.45 or greater.
126126
#if defined(LIBCURL_VERSION_NUM) && LIBCURL_VERSION_NUM >= 0x072D00
127127
// The session's active socket.
128-
CURLCPP_DEFINE_INFO(CURLINFO_ACTIVE_SOCKET,curl_socket_t *);
128+
CURLCPP_DEFINE_INFO(CURLINFO_ACTIVESOCKET,curl_socket_t *);
129129
#endif
130130
// The entry path after logging in to an FTP server.
131131
CURLCPP_DEFINE_INFO(CURLINFO_FTP_ENTRY_PATH,char *);
132132
// Certificate chain
133133
CURLCPP_DEFINE_INFO(CURLINFO_CERTINFO,struct curl_certinfo *);
134134
// This costant is avaiable with libcurl < 7.48
135135
#if defined(LIBCURL_VERSION_NUM) && LIBCURL_VERSION_NUM < 0x073000
136-
// TSL session info that can be used for further processing.
136+
// TLS session info that can be used for further processing.
137137
CURLCPP_DEFINE_INFO(CURLINFO_TLS_SESSION,struct curl_tlssessioninfo *);
138138
#else
139-
// TSL session info that can be used for further processing.
140-
CURLCPP_DEFINE_INFO(CURLINFO_TSL_SSL_PTR,struct curl_tlssessioninfo *);
139+
// TLS session info that can be used for further processing.
140+
CURLCPP_DEFINE_INFO(CURLINFO_TLS_SSL_PTR,struct curl_tlssessioninfo *);
141141
#endif
142142
// Whether or not a time conditional was met.
143143
CURLCPP_DEFINE_INFO(CURLINFO_CONDITION_UNMET,long);
@@ -1115,4 +1115,4 @@ namespace curl {
11151115
}
11161116

11171117
#undef CURLCPP_DEFINE_OPTION
1118-
#endif /* defined(__curlcpp__curl_easy__) */
1118+
#endif /* defined(__curlcpp__curl_easy__) */

0 commit comments

Comments
 (0)