mirror of
https://github.com/curl/curl.git
synced 2026-08-01 20:40:28 +03:00
ftp: convert 'sock_accepted' to a plain boolean
This was an array indexed with sockindex but it was only ever used for the secondary socket. Closes #4929
This commit is contained in:
parent
03564deba2
commit
c188391a9f
3 changed files with 5 additions and 6 deletions
|
|
@ -291,7 +291,7 @@ static CURLcode AcceptServerConnect(struct connectdata *conn)
|
|||
|
||||
conn->sock[SECONDARYSOCKET] = s;
|
||||
(void)curlx_nonblock(s, TRUE); /* enable non-blocking */
|
||||
conn->sock_accepted[SECONDARYSOCKET] = TRUE;
|
||||
conn->sock_accepted = TRUE;
|
||||
|
||||
if(data->set.fsockopt) {
|
||||
int error = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue