projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
4c295ef
)
libcollectdclient: Check if the file handle is valid before writing to it.
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Mon, 2 Mar 2009 14:27:12 +0000
(15:27 +0100)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Mon, 2 Mar 2009 14:27:12 +0000
(15:27 +0100)
And free allocated memory when connecting fails. Only assign anything to
the user-provided pointer if `lcc_connect' succeeds. This should make
error-handling much more straight-forward.
No differences found