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

Commit 168f54f3 authored by Deucе's avatar Deucе 👌🏾

getkey() can return undefined.

parent 7441b003
...@@ -548,7 +548,7 @@ function getkey() ...@@ -548,7 +548,7 @@ function getkey()
ch = '\x00'; ch = '\x00';
do { do {
ch = getkeyw(); ch = getkeyw();
if (ch === null || ch.length < 1) { if (ch === undefined || ch === null || ch.length < 1) {
ch = '\x00'; ch = '\x00';
} }
} while (ch === '\x00'); } while (ch === '\x00');
......
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