]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Simplify multi_connection_established.
authorArne Schwabe <arne@rfc2549.org>
Tue, 7 Jul 2020 12:16:13 +0000 (14:16 +0200)
committerGert Doering <gert@greenie.muc.de>
Tue, 7 Jul 2020 19:13:19 +0000 (21:13 +0200)
commit05ffefcca997708e1f146bed6f5dba9b9f5b1e90
tree82ea19a65c8662041462d328335e898c49b981a9
parent008ec688d06101c0307e6d17a0239b134355dca4
Simplify multi_connection_established.

Instead of having the whole function as

        if (x) { func }

do

        if (!x) return;
        func

Due to the whitespace changes in the function body this patch looks
very strange. Ignoring whitespace makes the diff look sane.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Antonio Quartulli <antonio@openvpn.net>
Message-Id: <20200707121615.15736-3-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg20231.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/multi.c