projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug#404018: Break out of the `while (loop)'-loop when no socket can be opened.
[collectd.git]
/
src
/
network.c
diff --git
a/src/network.c
b/src/network.c
index
22e911a
..
c233de6
100644
(file)
--- a/
src/network.c
+++ b/
src/network.c
@@
-451,7
+451,7
@@
int network_receive (char **host, char **type, char **inst, char **value)
{
syslog (LOG_WARNING, "Invalid message from `%s'", *host);
free (*host); *host = NULL;
- return (
-
1);
+ return (1);
}
if ((*type = strdup (fields[0])) == NULL)