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