Commit 83b8f43a authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

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

This may have contributed to plt's file editing woes.
parent 5116fecf
......@@ -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);
return result == SMB_SUCCESS;
Supports Markdown
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