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:
wtc%netscape.com 2000-06-07 18:49:23 +00:00
Родитель 5e953f9fde
Коммит cca1170016
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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(