From cf072b6418feecbb07af4fa4e2e4cead819ceec7 Mon Sep 17 00:00:00 2001 From: "wtc%netscape.com" Date: Sun, 10 Dec 2000 02:33:59 +0000 Subject: [PATCH] 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 --- mozilla/nsprpub/pr/src/io/prsocket.c | 2 +- mozilla/nsprpub/pr/src/pthreads/ptio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/nsprpub/pr/src/io/prsocket.c b/mozilla/nsprpub/pr/src/io/prsocket.c index 7c4742a2e83..df52b376007 100644 --- a/mozilla/nsprpub/pr/src/io/prsocket.c +++ b/mozilla/nsprpub/pr/src/io/prsocket.c @@ -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, diff --git a/mozilla/nsprpub/pr/src/pthreads/ptio.c b/mozilla/nsprpub/pr/src/pthreads/ptio.c index c1b52a5d6c6..7d0b85b88db 100644 --- a/mozilla/nsprpub/pr/src/pthreads/ptio.c +++ b/mozilla/nsprpub/pr/src/pthreads/ptio.c @@ -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(