mirror of
https://github.com/curl/curl.git
synced 2026-07-23 17:07:16 +03:00
tidy-up: misc
- lib1531: fix to use `curl_off_t`. - src/tool_doswin: merge `_WIN32` guards. - src/tool_doswin: limit `S_ISCHR()` to MS-DOS. - src: dedupe `CURL_O_BINARY` macro into `tool_setup.h`. - CMake/CurlTests.c: cleanup/formatting `HAVE_FILE_OFFSET_BITS` test. - examples/httpput-postfields: delete unused include. - spelling: MultiSSL. - whitespace. Ref: #15652 Closes #15799
This commit is contained in:
parent
415741ef94
commit
7a70b46481
11 changed files with 29 additions and 39 deletions
|
|
@ -948,7 +948,7 @@ int getpwuid_r(uid_t uid, struct passwd *pwd, char *buf,
|
|||
defined(USE_QUICHE) || defined(USE_MSH3)
|
||||
|
||||
#ifdef CURL_WITH_MULTI_SSL
|
||||
#error "Multi-SSL combined with QUIC is not supported"
|
||||
#error "MultiSSL combined with QUIC is not supported"
|
||||
#endif
|
||||
|
||||
#define USE_HTTP3
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ int Curl_pipe(curl_socket_t socks[2], bool nonblocking)
|
|||
return -1;
|
||||
#ifdef HAVE_FCNTL
|
||||
if(fcntl(socks[0], F_SETFD, FD_CLOEXEC) ||
|
||||
fcntl(socks[1], F_SETFD, FD_CLOEXEC) ) {
|
||||
fcntl(socks[1], F_SETFD, FD_CLOEXEC)) {
|
||||
close(socks[0]);
|
||||
close(socks[1]);
|
||||
socks[0] = socks[1] = CURL_SOCKET_BAD;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue