mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:03:32 +03:00
silence compiler warnings for mingw win32 builds --enable-debug
This commit is contained in:
parent
387aaba810
commit
3916d1e6cb
4 changed files with 7 additions and 8 deletions
|
|
@ -1062,7 +1062,7 @@ static CURLcode ftp_state_use_port(struct connectdata *conn,
|
|||
/* we set the secondary socket variable to this for now, it
|
||||
is only so that the cleanup function will close it in case
|
||||
we fail before the true secondary stuff is made */
|
||||
if(-1 != conn->sock[SECONDARYSOCKET])
|
||||
if(CURL_SOCKET_BAD != conn->sock[SECONDARYSOCKET])
|
||||
sclose(conn->sock[SECONDARYSOCKET]);
|
||||
conn->sock[SECONDARYSOCKET] = portsock;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue