]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Remove push_reply_deferred variable
authorArne Schwabe <arne@rfc2549.org>
Thu, 2 Jul 2020 12:52:24 +0000 (14:52 +0200)
committerGert Doering <gert@greenie.muc.de>
Thu, 2 Jul 2020 13:20:52 +0000 (15:20 +0200)
commit182a2fdd91c5d7a0f6e051182e833f2c7f460cb3
tree96601596a5f9b25faea737b568aa52c65e2a5dda
parent8a168a9ac82c197725091f67fb5812d4b64050d8
Remove push_reply_deferred variable

The variable has no useful function (anymore?).

There is only one place where this variable was checked

    else if (!c->c2.push_reply_deferred && c->c2.context_auth ==
CAS_SUCCEEDED)

This condition also depends on context_auth == CAS_SUCCEEDED but the only
code path that sets context_auth = CAS_SUCCEEDED also sets
push_reply_deferred = false;

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Lev Stipakov <lstipakov@gmail.com>
Message-Id: <20200702125224.13516-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg20186.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/multi.c
src/openvpn/openvpn.h
src/openvpn/push.c