Skip to content
Snippets Groups Projects
Commit 5dbe9d1d authored by deuce's avatar deuce
Browse files

"Fix" send return value usage.

parent 698ca0bd
Branches
Tags
No related merge requests found
......@@ -84,7 +84,7 @@ if(!sent_heads && this.http_request!=undefined)
function send(msg)
{
if(!my_server.send(msg+"\r\n"))
if(my_server.send(msg+"\r\n") != msg.length + 2)
alert("send failure");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment