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

Fix typo that caused updatefile() to return false on success

This may have contributed to plt's file editing woes.
parent 5116fecf
Branches
Tags
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -460,7 +460,7 @@ bool updatefile(scfg_t* cfg, file_t* file)
if(smb_open_dir(cfg, &smb, file->dir) != SMB_SUCCESS)
return false;
int result = smb_updatemsg(&smb, file) == SMB_SUCCESS;
int result = smb_updatemsg(&smb, file);
smb_close(&smb);
return result == SMB_SUCCESS;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment