mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Fix typos
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3838 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
241d282ac9
commit
c99e086dfe
1 changed files with 2 additions and 2 deletions
|
@ -510,7 +510,7 @@ static GSTcpPort *dummyPort = nil;
|
|||
const char *a = [[addresses objectAtIndex: i] cString];
|
||||
|
||||
#ifndef HAVE_INET_ATON
|
||||
dummyPort->sin_addr.s_addr = inet_addr(a);
|
||||
dummyPort->addr.s_addr = inet_addr(a);
|
||||
#else
|
||||
if (inet_aton(a, &dummyPort->addr.sin_addr) == 0)
|
||||
{
|
||||
|
@ -731,7 +731,7 @@ static GSTcpPort *dummyPort = nil;
|
|||
const char *a = [[addresses objectAtIndex: i] cString];
|
||||
|
||||
#ifndef HAVE_INET_ATON
|
||||
addr,sin_addr.s_addr = inet_addr(a);
|
||||
addr.sin_addr.s_addr = inet_addr(a);
|
||||
#else
|
||||
if (inet_aton(a, &addr.sin_addr) == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue