Kaynağa Gözat

Actually call getData

Hugh Sanderson 16 yıl önce
ebeveyn
işleme
c8d265b965
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      std/cpp/net/SocketOutput.hx

+ 1 - 1
std/cpp/net/SocketOutput.hx

@@ -47,7 +47,7 @@ class SocketOutput extends haxe.io.Output {
 
 
 	public override function writeBytes( buf : haxe.io.Bytes, pos : Int, len : Int) : Int {
 	public override function writeBytes( buf : haxe.io.Bytes, pos : Int, len : Int) : Int {
 		return try {
 		return try {
-			socket_send(__s, buf.getData, pos, len);
+			socket_send(__s, buf.getData(), pos, len);
 		} catch( e : Dynamic ) {
 		} catch( e : Dynamic ) {
 			if( e == "Blocking" )
 			if( e == "Blocking" )
 				throw Blocked;
 				throw Blocked;