openvpn: Fixed openvpn_read() on empty configuration.
authorPavel Rochnyack <pavel2000@ngs.ru>
Sat, 29 Oct 2016 12:25:15 +0000 (18:25 +0600)
committerPavel Rochnyack <pavel2000@ngs.ru>
Sat, 29 Oct 2016 13:08:28 +0000 (19:08 +0600)
commitb7e942f07f8cc3b4915aa95477aead8b5a372879
tree07d79a17336b810dcd1bdbd01ab3528abbab012e
parent893f08e3e00a142fc7f0670c7992ff72b54f30fb
openvpn: Fixed openvpn_read() on empty configuration.

When plugin loaded without configuration, it starts to spam logs with message
'read-function of plugin `openvpn' failed'.

Issue: #1932
src/openvpn.c