2010-01-29 18:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/src/rtl/hbsocket.c
    * do not try to resolve NULL or empty addresses in hb_socketResolveAddr()
This commit is contained in:
Przemyslaw Czerpak
2010-01-29 17:35:08 +00:00
parent 0cb619640d
commit b057311da3
2 changed files with 7 additions and 0 deletions

View File

@@ -17,6 +17,10 @@
past entries belonging to author(s): Viktor Szakats.
*/
2010-01-29 18:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbsocket.c
* do not try to resolve NULL or empty addresses in hb_socketResolveAddr()
2010-01-29 09:19 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
* contrib/hbide/ideactions.prg

View File

@@ -2725,6 +2725,9 @@ char * hb_socketResolveAddr( const char * szAddr, int af )
char * szResult = NULL;
HB_BOOL fTrans = HB_FALSE;
if( !szAddr || !*szAddr )
return NULL;
if( af == HB_SOCKET_PF_INET )
{
struct in_addr sin;