mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
static analyzer tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36523 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4ae6afbfc6
commit
d68d872655
10 changed files with 110 additions and 97 deletions
|
@ -1361,6 +1361,7 @@ setNonBlocking(SOCKET fd)
|
|||
struct sockaddr sin;
|
||||
socklen_t size = sizeof(sin);
|
||||
|
||||
memset(&sin, '\0', size);
|
||||
if ([key isEqualToString: GSStreamLocalAddressKey])
|
||||
{
|
||||
if (getsockname(s, (struct sockaddr*)&sin, &size) != -1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue