summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcaillon%redhat.com <devnull@localhost>2005-03-11 00:10:11 +0000
committercaillon%redhat.com <devnull@localhost>2005-03-11 00:10:11 +0000
commit08057c61c011d23744c87cb3dde0f5d52f183d4e (patch)
tree95df8ec622b1d2e2a921656966b3e963604e6acc
parent1127e4d612ded39794545d79bdcb470764118c22 (diff)
downloadnspr-hg-MOZILLA_1_4_BRANCH.tar.gz
POSIX reserves recv to potentially be a macro. Wrap it around parens to avoid conflict.MOZILLA_1_4_BRANCH
Bug 285020
-rw-r--r--pr/src/io/prmwait.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pr/src/io/prmwait.c b/pr/src/io/prmwait.c
index 65ea1cd6..606cbf12 100644
--- a/pr/src/io/prmwait.c
+++ b/pr/src/io/prmwait.c
@@ -649,7 +649,7 @@ static void _MW_InitialRecv(PRCList *io_ready)
desc->bytesRecv = 0;
else
{
- desc->bytesRecv = desc->fd->methods->recv(
+ desc->bytesRecv = (desc->fd->methods->recv)(
desc->fd, desc->buffer.start,
desc->buffer.length, 0, desc->timeout);
if (desc->bytesRecv < 0) /* SetError should already be there */