diff options
author | wtchang%redhat.com <devnull@localhost> | 2005-03-08 22:47:54 +0000 |
---|---|---|
committer | wtchang%redhat.com <devnull@localhost> | 2005-03-08 22:47:54 +0000 |
commit | f6d04d299fe289306e78e5f58a65b3012c589683 (patch) | |
tree | 0003cf73d9c4754d6ea2def0ddf18c2b3a5be5fd | |
parent | 2f12c1d288b1395f42c0d73e89d899f3eaf7d904 (diff) | |
download | nspr-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.c | 2 |
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 */ |