1
0
Fork 0
forked from fte/fteqw

tiny bugfix.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4459 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2013-08-15 00:59:13 +00:00
parent e67a7b2d7d
commit 7793b0a73a

View file

@ -332,7 +332,7 @@ console.log('deleted '+name);
var s = FTEH.h[sockid]; var s = FTEH.h[sockid];
if (!s) if (!s)
return -1; return -1;
s.s.send(HEAPU8.subarray(data, data+len).buffer); s.ws.send(HEAPU8.subarray(data, data+len).buffer);
return len; return len;
}, },
emscriptenfte_ws_recv : function(sockid, data, len) emscriptenfte_ws_recv : function(sockid, data, len)