Nicolas Cannasse 17 年 前
コミット
04f7038c41
1 ファイル変更1 行追加3 行削除
  1. 1 3
      std/tools/hxinst/Main.hx

+ 1 - 3
std/tools/hxinst/Main.hx

@@ -141,9 +141,7 @@ class Main {
 
 		// PROXY
 		var p = neko.net.ProxyDetect.detect();
-		if( p == null )
-			display("No proxy found");
-		else {
+		if( p != null ) {
 			display("Testing proxy "+p.host+":"+p.port);
 			haxe.Http.PROXY = p;
 			try {