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:
Przemyslaw Czerpak
2009-07-28 15:52:42 +00:00
parent 2dade7c467
commit ef2cd8b99c
2 changed files with 12 additions and 0 deletions

View File

@@ -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.

View File

@@ -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
{