git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93e8876
)
ctdb: Fix CID 1398178 Argument cannot be negative
author
Volker Lendecke
<vl@samba.org>
Tue, 27 Dec 2016 10:48:21 +0000
(10:48 +0000)
committer
David Disseldorp
<ddiss@samba.org>
Tue, 27 Dec 2016 13:21:27 +0000
(14:21 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
ctdb/common/sock_io.c
patch
|
blob
|
history
diff --git
a/ctdb/common/sock_io.c
b/ctdb/common/sock_io.c
index 7245d4e973d3d054975012873bacc7e5df273cd9..b3581fc4721a4be4498b71fceea1b25022e45b7f 100644
(file)
--- a/
ctdb/common/sock_io.c
+++ b/
ctdb/common/sock_io.c
@@
-53,7
+53,6
@@
int sock_connect(const char *sockpath)
fd = socket(AF_UNIX, SOCK_STREAM, 0);
if (fd == -1) {
D_ERR("socket() failed, errno=%d\n", errno);
- close(fd);
return -1;
}