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.


git-svn-id: svn://10.0.0.236/trunk@170400 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
wtchang%redhat.com
2005-03-08 22:40:15 +00:00
parent b24874a832
commit cbedc6d57c

View File

@@ -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 */