summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtchang%redhat.com <devnull@localhost>2005-03-08 22:47:54 +0000
committerwtchang%redhat.com <devnull@localhost>2005-03-08 22:47:54 +0000
commitf6d04d299fe289306e78e5f58a65b3012c589683 (patch)
tree0003cf73d9c4754d6ea2def0ddf18c2b3a5be5fd
parent2f12c1d288b1395f42c0d73e89d899f3eaf7d904 (diff)
downloadnspr-hg-f6d04d299fe289306e78e5f58a65b3012c589683.tar.gz
Bugzilla Bug 285020: wrap the member access in parenthesis because recv
may be defined as a macro on some platforms. The patch is contributed by Chris Aillon of Red Hat. r=wtc. Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH
-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 8c2e5f98..1a2e1cd7 100644
--- a/pr/src/io/prmwait.c
+++ b/pr/src/io/prmwait.c
@@ -652,7 +652,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 */