Bugzilla bug #40778: renamed the 'connectcontinue' member of PRIOMethods

back to 'reserver_fn_4' to maintain source compatibility.
Modified files: prio.h, priometh.c, prlayer.c, prsocket.c, ptio.c
This commit is contained in:
wtc%netscape.com 2000-09-01 01:14:34 +00:00
parent 2007593a30
commit 860916575a
5 changed files with 5 additions and 5 deletions

View File

@ -399,7 +399,7 @@ struct PRIOMethods {
PRSetsocketoptionFN setsocketoption;
/* Set value of specified option */
PRSendfileFN sendfile; /* Send a (partial) file with header/trailer*/
PRConnectcontinueFN connectcontinue;
PRConnectcontinueFN reserved_fn_4; /* the connectcontinue method */
/* Continue a nonblocking connect */
PRReservedFN reserved_fn_3; /* reserved for future use */
PRReservedFN reserved_fn_2; /* reserved for future use */

View File

@ -185,7 +185,7 @@ PR_IMPLEMENT(PRStatus) PR_Connect(
PR_IMPLEMENT(PRStatus) PR_ConnectContinue(
PRFileDesc *fd, PRInt16 out_flags)
{
return((fd->methods->connectcontinue)(fd,out_flags));
return((fd->methods->reserved_fn_4)(fd,out_flags));
}
PR_IMPLEMENT(PRFileDesc*) PR_Accept(PRFileDesc *fd, PRNetAddr *addr,

View File

@ -197,7 +197,7 @@ static PRStatus PR_CALLBACK pl_DefConnectcontinue (
PR_ASSERT(fd != NULL);
PR_ASSERT(fd->lower != NULL);
return (fd->lower->methods->connectcontinue)(fd->lower, out_flags);
return (fd->lower->methods->reserved_fn_4)(fd->lower, out_flags);
}
static PRFileDesc* PR_CALLBACK pl_TopAccept (

View File

@ -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 bottom->methods->reserved_fn_4(bottom, pd->out_flags);
}
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);
return PR_FAILURE;
}
return bottom->methods->connectcontinue(bottom, pd->out_flags);
return bottom->methods->reserved_fn_4(bottom, pd->out_flags);
} /* PR_GetConnectStatus */
static PRFileDesc* pt_Accept(