diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 2544903d04..59c05623b7 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,10 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-02-20 18:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/src/rtl/hbsocket.c + ! fixed typo + 2010-02-20 18:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbsqlit3/hbsqlit3.c ! fixed to work without [U]LONGLONG defined in hbdefs.h diff --git a/harbour/src/rtl/hbsocket.c b/harbour/src/rtl/hbsocket.c index a10026c45b..d7d9c74944 100644 --- a/harbour/src/rtl/hbsocket.c +++ b/harbour/src/rtl/hbsocket.c @@ -3063,7 +3063,7 @@ PHB_ITEM hb_socketGetIFaces( int af, HB_BOOL fNoAliases ) { const char * cptr = strchr( pifr->ifr_name, ':' ); - len = cptr ? ( int ) ( pifr->ifr_name - cptr ) : + len = cptr ? ( int ) ( cptr - pifr->ifr_name ) : ( int ) strlen( pifr->ifr_name ); if( pLastName && len == iLastName && family == iLastFamily && memcmp( pLastName, pifr->ifr_name, len ) == 0 )