mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
Fix bug initilising listening port - buffer size variable was not set up.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6886 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1b91e89dbf
commit
27cefa4f1b
3 changed files with 14 additions and 0 deletions
|
@ -1138,6 +1138,11 @@ static Class tcpPortClass;
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Need size of buffer for getsockbyname() later.
|
||||
*/
|
||||
i = sizeof(sockaddr);
|
||||
|
||||
if (addrOk == NO)
|
||||
{
|
||||
NSLog(@"Bad address (%@) specified for listening port", addr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue