2009-07-28 17:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/hbsocket.c
! fixed typo in recent modification
This commit is contained in:
@@ -17,6 +17,10 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2009-07-28 17:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/source/rtl/hbsocket.c
|
||||
! fixed typo in recent modification
|
||||
|
||||
2009-07-28 17:30 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* make_gnu.sh
|
||||
! Restored old sln/crs detection code, to fix creation of hbmk.cfg.
|
||||
|
||||
@@ -1381,6 +1381,9 @@ BOOL hb_socketInetAddr( void ** pSockAddr, unsigned * puiLen,
|
||||
if( !szAddr || !*szAddr )
|
||||
{
|
||||
sa.sin_addr.s_addr = htonl( INADDR_ANY );
|
||||
*pSockAddr = memcpy( hb_xgrab( sizeof( sa ) + 1 ), &sa, sizeof( sa ) );
|
||||
*puiLen = ( unsigned ) sizeof( sa );
|
||||
return TRUE;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1427,7 +1430,12 @@ BOOL hb_socketInet6Addr( void ** pSockAddr, unsigned * puiLen,
|
||||
memcpy( &sa.sin6_addr, &in6addr_any, sizeof( struct in6_addr ) );
|
||||
#elif defined( IN6ADDR_ANY_INIT )
|
||||
memcpy( &sa.sin6_addr, &s_in6addr_any, sizeof( struct in6_addr ) );
|
||||
#else
|
||||
int TODO;
|
||||
#endif
|
||||
*pSockAddr = memcpy( hb_xgrab( sizeof( sa ) + 1 ), &sa, sizeof( sa ) );
|
||||
*puiLen = ( unsigned ) sizeof( sa );
|
||||
return TRUE;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user