Simplify "if (A && B && B)" with "if (A && B)" Signed-off-by: Antonio Borneo <borneo.antonio at gmail.com> --- http.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/http.c b/http.c index 2baf882..660dd67 100644 --- a/http.c +++ b/http.c @@ -999,7 +999,7 @@ int openconnect_obtain_cookie(struct openconnect_info *vpninfo) vpn_progress(vpninfo, PRG_INFO, _("XML POST enabled\n")); /* Step 4: Run the CSD trojan, if applicable */ - if (vpninfo->csd_starturl && vpninfo->csd_waiturl && vpninfo->csd_waiturl) { + if (vpninfo->csd_starturl && vpninfo->csd_waiturl) { char *form_path = NULL; if (vpninfo->urlpath) { -- 1.7.3.4