mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
fix for bug #50032
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40289 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
60a86946d3
commit
31772e50c5
3 changed files with 132 additions and 68 deletions
|
@ -163,8 +163,7 @@ static id null = nil;
|
|||
|
||||
memset(&hints, '\0', sizeof(hints));
|
||||
hints.ai_flags = AI_CANONNAME;
|
||||
getaddrinfo([a UTF8String], 0, &hints, &entry);
|
||||
if (0 == entry)
|
||||
if (getaddrinfo([a UTF8String], 0, &hints, &entry) != 0)
|
||||
{
|
||||
/*
|
||||
* Can't find a database entry for this IP address, but since
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue