Skip to content
Snippets Groups Projects
Commit 26c52535 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 d61d1e35
Branches
Tags
No related merge requests found
......@@ -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