diff --git a/harbour/ChangeLog b/harbour/ChangeLog index c32f051f24..d901900022 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,10 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-07-28 18:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/source/rtl/hbsocket.c + ! yet another mistake in select() sets I missed to fix in previous commit + 2009-07-28 18:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg % Maybe I'm overlooking some scenarios, but I could simply drop the diff --git a/harbour/source/rtl/hbsocket.c b/harbour/source/rtl/hbsocket.c index c09df3b486..88ea099746 100644 --- a/harbour/source/rtl/hbsocket.c +++ b/harbour/source/rtl/hbsocket.c @@ -1235,7 +1235,7 @@ static int hb_socketSelectWR( HB_SOCKET sd, HB_LONG timeout ) else ptv = NULL; - iResult = select( ( int ) ( sd + 1 ), &wfds, NULL, NULL, ptv ); + iResult = select( ( int ) ( sd + 1 ), NULL, &wfds, NULL, ptv ); hb_socketSetOsError( iResult >= 0 ? 0 : HB_SOCK_GETERROR() ); if( iResult == -1 && timeout > 0 && HB_SOCK_IS_EINTR() && hb_vmRequestQuery() == 0 )