mirror of
https://github.com/curl/curl.git
synced 2026-08-24 21:13:40 +03:00
address further comments
This commit is contained in:
parent
5635e6b94d
commit
c8cd3ef196
1 changed files with 2 additions and 2 deletions
|
|
@ -750,7 +750,7 @@ static DWORD WINAPI win_stdin_thread_func(void *thread_data)
|
||||||
}
|
}
|
||||||
|
|
||||||
static int swrite_blocking_on_nonblock(curl_socket_t nonblock_sock,
|
static int swrite_blocking_on_nonblock(curl_socket_t nonblock_sock,
|
||||||
unsigned char *data,
|
const unsigned char *data,
|
||||||
size_t nbytes)
|
size_t nbytes)
|
||||||
{
|
{
|
||||||
fd_set fdwrite;
|
fd_set fdwrite;
|
||||||
|
|
@ -836,7 +836,7 @@ curl_socket_t win32_stdin_read_thread(void)
|
||||||
|
|
||||||
do {
|
do {
|
||||||
curl_socklen_t socksize = 0;
|
curl_socklen_t socksize = 0;
|
||||||
struct sockaddr_in selfaddr = {0};
|
struct sockaddr_in selfaddr;
|
||||||
|
|
||||||
/* prevent mem leak warnings */
|
/* prevent mem leak warnings */
|
||||||
if(atexit(&cleanup_tdata)) {
|
if(atexit(&cleanup_tdata)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue