apcups plugin: Close the socket when `connect' failes.
authorFlorian Forster <octo@huhu.verplant.org>
Wed, 19 Jul 2006 16:41:36 +0000 (18:41 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Wed, 19 Jul 2006 16:41:36 +0000 (18:41 +0200)
commit90e12ab9258573aa46651640ecdbfaf24812068e
tree9822d10d196044609a534f906e9aa0816be18616
parentfc7eb7321d83aeec9660ca0571fce4340257235d
apcups plugin: Close the socket when `connect' failes.

Otherwise people will get `Too many open files' faily soon.
src/apcups.c