Bugzilla bug #51406: PR_GetConnectStatus should not invoke the new
'connectcontinue' method, which is not present in the PRIOMethods table of NSPR 4.0. Modified Files: prsocket.c ptio.c git-svn-id: svn://10.0.0.236/trunk@83453 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -379,7 +379,7 @@ PR_IMPLEMENT(PRStatus) PR_GetConnectStatus(const PRPollDesc *pd)
|
||||
PR_SetError(PR_INVALID_ARGUMENT_ERROR, 0);
|
||||
return PR_FAILURE;
|
||||
}
|
||||
return bottom->methods->connectcontinue(bottom, pd->out_flags);
|
||||
return SocketConnectContinue(bottom, pd->out_flags);
|
||||
}
|
||||
|
||||
static PRFileDesc* PR_CALLBACK SocketAccept(PRFileDesc *fd, PRNetAddr *addr,
|
||||
|
||||
@@ -1403,7 +1403,7 @@ PR_IMPLEMENT(PRStatus) PR_GetConnectStatus(const PRPollDesc *pd)
|
||||
PR_SetError(PR_INVALID_ARGUMENT_ERROR, 0);
|
||||
return PR_FAILURE;
|
||||
}
|
||||
return bottom->methods->connectcontinue(bottom, pd->out_flags);
|
||||
return pt_ConnectContinue(bottom, pd->out_flags);
|
||||
} /* PR_GetConnectStatus */
|
||||
|
||||
static PRFileDesc* pt_Accept(
|
||||
|
||||
Reference in New Issue
Block a user