[PATCH 01/12] Simplify test pattern

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux