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 a99d4dc1 authored by deuce's avatar deuce

Fix bug found by saper making getche() only work if you enter a null

character first (checks the return value instead of the function pointer).

Thanks!
parent ae57f293
......@@ -410,7 +410,7 @@ CIOLIBEXPORT int CIOLIBCALL ciolib_getche(void)
ciolib_putch(ch);
return(ch);
}
if(cio_api.getche())
if(cio_api.getche)
return(cio_api.getche());
else {
while(1) {
......
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