projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'collectd-5.4' into collectd-5.5
[collectd.git]
/
src
/
libcollectdclient
/
client.c
diff --git
a/src/libcollectdclient/client.c
b/src/libcollectdclient/client.c
index
9ad61f6
..
a97dc50
100644
(file)
--- a/
src/libcollectdclient/client.c
+++ b/
src/libcollectdclient/client.c
@@
-500,7
+500,6
@@
static int lcc_open_netsocket (lcc_connection_t *c, /* {{{ */
if (fd < 0)
{
status = errno;
- fd = -1;
continue;
}
@@
-509,7
+508,6
@@
static int lcc_open_netsocket (lcc_connection_t *c, /* {{{ */
{
status = errno;
close (fd);
- fd = -1;
continue;
}
@@
-518,7
+516,6
@@
static int lcc_open_netsocket (lcc_connection_t *c, /* {{{ */
{
status = errno;
close (fd);
- fd = -1;
continue;
}