Nicolas Cannasse %!s(int64=19) %!d(string=hai) anos
pai
achega
1bca9f6ae1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      std/neko/io/SocketOutput.hx

+ 1 - 1
std/neko/io/SocketOutput.hx

@@ -46,7 +46,7 @@ class SocketOutput extends Output {
 
 	public override function writeBytes( buf : String, pos : Int, len : Int) : Int {
 		return try {
-			socket_send(__s, untyped buffer.__s, pos, len);
+			socket_send(__s, untyped buf.__s, pos, len);
 		} catch( e : Dynamic ) {
 			if( e == "Blocking" )
 				throw Error.Blocked;