Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
83b8f43a
Commit
83b8f43a
authored
May 15, 2021
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/sbbs3/filedat.c
src/sbbs3/filedat.c
+1
-1
No files found.
src/sbbs3/filedat.c
View file @
83b8f43a
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment