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.
This commit is contained in:
wtchang%redhat.com 2005-03-08 22:40:15 +00:00
Родитель 668143e9dd
Коммит 01bac4ca34
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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