Sfoglia il codice sorgente

Actually call getData

Hugh Sanderson 16 anni fa
parent
commit
c8d265b965
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 {
 		return try {
-			socket_send(__s, buf.getData, pos, len);
+			socket_send(__s, buf.getData(), pos, len);
 		} catch( e : Dynamic ) {
 			if( e == "Blocking" )
 				throw Blocked;