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 7e571274 authored by rswindell's avatar rswindell

Create a bogus "js" object for v3.10 servers.

parent e755930c
......@@ -874,6 +874,9 @@ for (cmdarg=0;cmdarg<argc;cmdarg++) {
read_config_file();
if(this.js==undefined) // v3.10?
js = { terminated: false };
if(this.server==undefined) { // Running from JSexec?
if (cmdline_port)
default_port = cmdline_port;
......@@ -914,7 +917,7 @@ while (!server.terminated) {
if(server.terminated)
break;
if(this.js!=undefined && js.terminated)
if(js.terminated)
break;
// Setup a new socket if a connection is accepted.
......
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