mirror of
https://github.com/samba-team/samba.git
synced 2025-11-20 08:23:50 +03:00
Coverity fixes
This commit is contained in:
committed by
Volker Lendecke
parent
097af0309d
commit
3fc85d2259
@@ -48,7 +48,7 @@ static int socketpair_tcp(int fd[2])
|
||||
#endif
|
||||
sock2.sin_family = PF_INET;
|
||||
|
||||
bind(listener, (struct sockaddr *)&sock2, sizeof(sock2));
|
||||
if (bind(listener, (struct sockaddr *)&sock2, sizeof(sock2)) != 0) goto failed;
|
||||
|
||||
if (listen(listener, 1) != 0) goto failed;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user