Skip to content
Snippets Groups Projects
Commit e7efe6d3 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

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

parent 7993ca0c
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1869 passed
...@@ -468,6 +468,7 @@ js_hash_file(JSContext *cx, uintN argc, jsval *arglist) ...@@ -468,6 +468,7 @@ js_hash_file(JSContext *cx, uintN argc, jsval *arglist)
if(getfname(filename) != filename) if(getfname(filename) != filename)
SAFECOPY(path, filename); SAFECOPY(path, filename);
else { else {
file.dir = p->smb.dirnum;
file.name = filename; file.name = filename;
getfilepath(scfg, &file, path); getfilepath(scfg, &file, path);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment