Skip to content
Snippets Groups Projects
Commit 3a027e6f authored by Rob Swindell's avatar Rob Swindell :speech_balloon: Committed by echicken
Browse files

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

parent 8431fc54
No related branches found
No related tags found
No related merge requests found
...@@ -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.
Please register or to comment