mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Revert subtly broken change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21391 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
71e5005964
commit
9e292d78c1
56 changed files with 333 additions and 444 deletions
|
@ -1076,7 +1076,7 @@ static Class runLoopClass;
|
|||
if (state == GS_H_TRYCON) /* Connection attempt. */
|
||||
{
|
||||
int res = 0;
|
||||
unsigned len = sizeof(res);
|
||||
int len = sizeof(res);
|
||||
|
||||
if (getsockopt(desc, SOL_SOCKET, SO_ERROR, (char*)&res, &len) == 0
|
||||
&& res != 0)
|
||||
|
@ -2117,7 +2117,7 @@ static unsigned wordAlign;
|
|||
#endif
|
||||
{
|
||||
struct sockaddr_in sockAddr;
|
||||
unsigned size = sizeof(sockAddr);
|
||||
int size = sizeof(sockAddr);
|
||||
|
||||
desc = accept(listener, (struct sockaddr*)&sockAddr, &size);
|
||||
if (desc == INVALID_SOCKET)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue