projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
697b243
)
hddtemp.c: Don't try other sockets if one could be opened..
author
octo
<octo>
Sat, 27 May 2006 11:25:55 +0000
(11:25 +0000)
committer
octo
<octo>
Sat, 27 May 2006 11:25:55 +0000
(11:25 +0000)
src/hddtemp.c
patch
|
blob
|
history
diff --git
a/src/hddtemp.c
b/src/hddtemp.c
index
cbe6e80
..
08bbbc0
100644
(file)
--- a/
src/hddtemp.c
+++ b/
src/hddtemp.c
@@
-158,6
+158,10
@@
static int hddtemp_query_daemon (char *buffer, int buffer_size)
fd = -1;
continue;
}
+
+ /* A socket could be opened and connecting succeeded. We're
+ * done. */
+ break;
}
freeaddrinfo (ai_list);