Browse Source

Fix accept

Pascal Peridont 19 years ago
parent
commit
2c1b0eec29
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/neko/Socket.hx

+ 1 - 1
std/neko/Socket.hx

@@ -83,7 +83,7 @@ class Socket {
 
 
 	public function accept() : Socket {
 	public function accept() : Socket {
 		var s = socket_accept(__s);
 		var s = socket_accept(__s);
-		var so = new Socket(false);
+		var so = new Socket();
 		so.close();
 		so.close();
 		so.__s = s;
 		so.__s = s;
 		return so;
 		return so;