Code

apcups branch: Some debug messages and such.
authorocto <octo>
Sat, 10 Jun 2006 11:01:05 +0000 (11:01 +0000)
committerocto <octo>
Sat, 10 Jun 2006 11:01:05 +0000 (11:01 +0000)
commitc7c26fbfca476e9e9d84245ae8268783f787a70b
tree7cf4f5036f84500fbce9a9c851349431779ed13f
parent938f678eaaa16a7e087d7140ba6e2553583d36de
apcups branch: Some debug messages and such.

collectd dies when the port is forwarded using ssh and then the server exits.
Apparently ssh doesn't anser with a connection refused right away which may
result in problems..
This revision adds some debug messages and handles `EOF' correctly (when
reading).
src/apcups.c