2009-09-01 21:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/source/rtl/hbinet.c
    * return logical value from hb_socketInit() function.
This commit is contained in:
Przemyslaw Czerpak
2009-09-01 19:08:45 +00:00
parent dd756dc5cf
commit d3476452ac
2 changed files with 11 additions and 2 deletions

View File

@@ -17,6 +17,10 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-09-01 21:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/hbinet.c
* return logical value from hb_socketInit() function.
2009-09-01 21:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/lib.mk
* harbour/config/bin.mk

View File

@@ -195,11 +195,16 @@ static void hb_inetAutoInit( void )
HB_FUNC( HB_INETINIT )
{
int ret;
hb_atomic_set( &s_initialize, 0 );
hb_socketInit();
ret = hb_socketInit();
if( ret == 0 )
{
#if defined( HB_INET_LINUX_INTERRUPT )
signal( HB_INET_LINUX_INTERRUPT, hb_inetLinuxSigusrHandle );
signal( HB_INET_LINUX_INTERRUPT, hb_inetLinuxSigusrHandle );
#endif
}
hb_retl( ret == 0 );
}
HB_FUNC( HB_INETCLEANUP )