зеркало из https://github.com/mozilla/pjs.git
Bugzilla bug #40778: PR_GetConnectStatus was passing the wrong fd to
the connectcontinue method. Modified files: prsocket.c, ptio.c.
This commit is contained in:
Родитель
5e953f9fde
Коммит
cca1170016
|
@ -361,7 +361,7 @@ PR_IMPLEMENT(PRStatus) PR_GetConnectStatus(const PRPollDesc *pd)
|
|||
PR_SetError(PR_INVALID_ARGUMENT_ERROR, 0);
|
||||
return PR_FAILURE;
|
||||
}
|
||||
return bottom->methods->connectcontinue(pd->fd, pd->out_flags);
|
||||
return bottom->methods->connectcontinue(bottom, pd->out_flags);
|
||||
}
|
||||
|
||||
static PRFileDesc* PR_CALLBACK SocketAccept(PRFileDesc *fd, PRNetAddr *addr,
|
||||
|
|
|
@ -1387,7 +1387,7 @@ PR_IMPLEMENT(PRStatus) PR_GetConnectStatus(const PRPollDesc *pd)
|
|||
PR_SetError(PR_INVALID_ARGUMENT_ERROR, 0);
|
||||
return PR_FAILURE;
|
||||
}
|
||||
return bottom->methods->connectcontinue(pd->fd, pd->out_flags);
|
||||
return bottom->methods->connectcontinue(bottom, pd->out_flags);
|
||||
} /* PR_GetConnectStatus */
|
||||
|
||||
static PRFileDesc* pt_Accept(
|
||||
|
|
Загрузка…
Ссылка в новой задаче