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:
wtc%netscape.com
2000-12-10 02:33:59 +00:00
parent 40a53bd427
commit cf072b6418
2 changed files with 2 additions and 2 deletions

View File

@@ -379,7 +379,7 @@ PR_IMPLEMENT(PRStatus) PR_GetConnectStatus(const PRPollDesc *pd)
PR_SetError(PR_INVALID_ARGUMENT_ERROR, 0); PR_SetError(PR_INVALID_ARGUMENT_ERROR, 0);
return PR_FAILURE; 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, static PRFileDesc* PR_CALLBACK SocketAccept(PRFileDesc *fd, PRNetAddr *addr,

View File

@@ -1403,7 +1403,7 @@ PR_IMPLEMENT(PRStatus) PR_GetConnectStatus(const PRPollDesc *pd)
PR_SetError(PR_INVALID_ARGUMENT_ERROR, 0); PR_SetError(PR_INVALID_ARGUMENT_ERROR, 0);
return PR_FAILURE; return PR_FAILURE;
} }
return bottom->methods->connectcontinue(bottom, pd->out_flags); return pt_ConnectContinue(bottom, pd->out_flags);
} /* PR_GetConnectStatus */ } /* PR_GetConnectStatus */
static PRFileDesc* pt_Accept( static PRFileDesc* pt_Accept(