зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
668143e9dd
Коммит
01bac4ca34
|
@ -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 */
|
||||
|
|
Загрузка…
Ссылка в новой задаче