Quit function if no connection instead of assigning variable that
authorwwp <wwp@free.fr>
Wed, 11 Jan 2017 15:09:08 +0000 (16:09 +0100)
committerwwp <wwp@free.fr>
Wed, 11 Jan 2017 15:09:08 +0000 (16:09 +0100)
commitde7bb00b0c877c5895341c28e01ae6408df2a06c
tree08f4e9c75f7774c9517ed968d9d551ba242663d9
parentf986aa1d86442c48afd6cb89f1fca2d5c31de20f
Quit function if no connection instead of assigning variable that
will be overwriten right after.
Fixes Coverity CID #1372370.
src/plugins/clamd/libclamd/clamd-plugin.c