mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3842 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
702e8d6f6a
commit
be9acafebd
1 changed files with 2 additions and 2 deletions
|
@ -84,7 +84,7 @@
|
|||
#include <time.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/resource.h>
|
||||
#include <sys/errno.h>
|
||||
#include <errno.h>
|
||||
#endif /* !__WIN32__ */
|
||||
|
||||
static int debug_tcp_port = 0;
|
||||
|
@ -510,7 +510,7 @@ static GSTcpPort *dummyPort = nil;
|
|||
const char *a = [[addresses objectAtIndex: i] cString];
|
||||
|
||||
#ifndef HAVE_INET_ATON
|
||||
dummyPort->addr.s_addr = inet_addr(a);
|
||||
dummyPort->addr.sin_addr.s_addr = inet_addr(a);
|
||||
#else
|
||||
if (inet_aton(a, &dummyPort->addr.sin_addr) == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue