Przeglądaj źródła

Fix: checked wrong list size

Rod Hynes 7 lat temu
rodzic
commit
49e65b6585
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      psiphon/tlsDialer.go

+ 1 - 1
psiphon/tlsDialer.go

@@ -169,7 +169,7 @@ func SelectTLSProfile(
 			tlsProfiles = append(tlsProfiles, tlsProfile)
 		}
 
-		if len(limitTLSProfiles) == 0 {
+		if len(tlsProfiles) == 0 {
 			return ""
 		}