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

Commits (1)
......@@ -2240,6 +2240,7 @@ function read_cfg(sub, lck)
var bseen;
var i;
var j;
var basemsg;
var byte;
var bit;
......@@ -2286,7 +2287,7 @@ function read_cfg(sub, lck)
if (bseen == null)
continue;
for (j in bseen) {
base = parseInt(j, 10);
basemsg = parseInt(j, 10);
bstr = base64_decode(bseen[j]);
for (byte = 0; byte < bstr.length; byte++) {
asc = ascii(bstr[byte]);
......@@ -2294,7 +2295,7 @@ function read_cfg(sub, lck)
continue;
for (bit=0; bit<8; bit++) {
if (asc & (1<<bit))
saved_config[this_sec].Seen[base+(byte*8+bit)]=1;
saved_config[this_sec].Seen[basemsg+(byte*8+bit)]=1;
}
}
}
......