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:
@@ -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
|
||||
|
||||
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user