2010-05-12 12:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/contrib/hbnetio/netiosrv.c
    ! fixed typo in NETIO_SRVSTATUS() - -2 was always returned
      (modification committed by mistake in my previous commit)
    ! fixed to return .F. by NETIO_SRVSEND{DATA,IETM}() if hb_znetFlush()
      reports error.
      Many thanks for Aleksander Czajczyński for information about problems
      and his extensive tests.
This commit is contained in:
Przemyslaw Czerpak
2010-05-12 10:10:54 +00:00
parent 2fed94876d
commit 604cce1812
2 changed files with 13 additions and 1 deletions

View File

@@ -17,6 +17,15 @@
past entries belonging to author(s): Viktor Szakats.
*/
2010-05-12 12:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbnetio/netiosrv.c
! fixed typo in NETIO_SRVSTATUS() - -2 was always returned
(modification committed by mistake in my previous commit)
! fixed to return .F. by NETIO_SRVSEND{DATA,IETM}() if hb_znetFlush()
reports error.
Many thanks for Aleksander Czajczyński for information about problems
and his extensive tests.
2010-05-12 09:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.pt_BR.po
* utils/hbmk2/hbmk2.hu_HU.po

View File

@@ -398,7 +398,10 @@ static long s_srvSendAll( PHB_CONSRV conn, void * buffer, long len )
}
}
if( conn->zstream && lLast > 0 && !conn->stop )
hb_znetFlush( conn->zstream, conn->sd, -1 );
{
if( hb_znetFlush( conn->zstream, conn->sd, -1 ) != 0 )
lSent = -1;
}
if( conn->mutex )
hb_threadMutexUnlock( conn->mutex );