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 e7efe6d3 authored by Rob Swindell's avatar Rob Swindell 💬

Fix hash() method broken in commit bc4f24f5 - file needs the dir num

parent 7993ca0c
Pipeline #1869 passed with stage
in 9 minutes and 48 seconds
......@@ -468,6 +468,7 @@ js_hash_file(JSContext *cx, uintN argc, jsval *arglist)
if(getfname(filename) != filename)
SAFECOPY(path, filename);
else {
file.dir = p->smb.dirnum;
file.name = filename;
getfilepath(scfg, &file, path);
}
......
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