Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, for more info) to build successfully.

Commit 5cb71b90 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Resolve line 712: Error: can't convert parseInt(line) to an integer

parent 530dc513
......@@ -709,9 +709,11 @@ function parse_command(line)
line=line.replace(/^{([0-9]+)}$/, "$1");
client.socket.send("+ Give me more of that good stuff\r\n");
line=client.socket.recvline(10240, 1800);
var len = parseInt(line);
if(len) {
line=client.socket.recvline(10240, 1800);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment