2009-07-31 12:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/hbinet.c
% Minor internal type cleanup.
This commit is contained in:
@@ -17,6 +17,10 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2009-07-31 12:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* source/rtl/hbinet.c
|
||||
% Minor internal type cleanup.
|
||||
|
||||
2009-07-31 12:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* source/rtl/hbinet.c
|
||||
% Cleaned old error description handling logic. Now the error
|
||||
|
||||
@@ -878,7 +878,7 @@ HB_FUNC( HB_INETDATAREADY )
|
||||
}
|
||||
|
||||
|
||||
static void s_inetSendInternal( int iMode )
|
||||
static void s_inetSendInternal( BOOL lAll )
|
||||
{
|
||||
PHB_SOCKET_STRUCT socket = HB_PARSOCKET( 1 );
|
||||
PHB_ITEM pBuffer = hb_param( 2, HB_IT_STRING );
|
||||
@@ -910,7 +910,7 @@ static void s_inetSendInternal( int iMode )
|
||||
if( iLen > 0 )
|
||||
{
|
||||
iSent += iLen;
|
||||
if( iMode == 0 )
|
||||
if( ! lAll )
|
||||
break;
|
||||
}
|
||||
else
|
||||
@@ -929,12 +929,12 @@ static void s_inetSendInternal( int iMode )
|
||||
|
||||
HB_FUNC( HB_INETSEND )
|
||||
{
|
||||
s_inetSendInternal( 0 );
|
||||
s_inetSendInternal( FALSE );
|
||||
}
|
||||
|
||||
HB_FUNC( HB_INETSENDALL )
|
||||
{
|
||||
s_inetSendInternal( 1 );
|
||||
s_inetSendInternal( TRUE );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user