Contents of /trunk/mozilla-firefox/patches/mozilla-firefox-1.0.7-recv-fortify.patch
Parent Directory | Revision Log
Revision 153 -
(show annotations)
(download)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 734 byte(s)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 734 byte(s)
-import
1 | Index: nsprpub/pr/src/io/prmwait.c |
2 | =================================================================== |
3 | RCS file: /cvsroot/mozilla/nsprpub/pr/src/io/prmwait.c,v |
4 | retrieving revision 3.14.2.1 |
5 | diff -d -u -p -r3.14.2.1 prmwait.c |
6 | --- nsprpub/pr/src/io/prmwait.c 14 Mar 2002 23:20:41 -0000 3.14.2.1 |
7 | +++ nsprpub/pr/src/io/prmwait.c 8 Mar 2005 20:53:36 -0000 |
8 | @@ -649,7 +649,7 @@ static void _MW_InitialRecv(PRCList *io_ |
9 | desc->bytesRecv = 0; |
10 | else |
11 | { |
12 | - desc->bytesRecv = desc->fd->methods->recv( |
13 | + desc->bytesRecv = (desc->fd->methods->recv)( |
14 | desc->fd, desc->buffer.start, |
15 | desc->buffer.length, 0, desc->timeout); |
16 | if (desc->bytesRecv < 0) /* SetError should already be there */ |