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
Compare Revisions
0553ef9b362cd580092cade6355bf898e6c440b1...ffcacc9711c0c481110eaef6c54637b7a13b6f27
Commits (1)
Use SAFECOPY() - CID 345193
· ffcacc97
Rob Swindell
authored
Jan 04, 2022
ffcacc97
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/sbbs3/js_system.c
src/sbbs3/js_system.c
+2
-2
No files found.
src/sbbs3/js_system.c
View file @
ffcacc97
...
...
@@ -1737,9 +1737,9 @@ js_new_user(JSContext *cx, uintN argc, jsval *arglist)
/* settings */
if
(
cfg
->
total_fcomps
)
strcpy
(
user
.
tmpext
,
cfg
->
fcomp
[
0
]
->
ext
);
SAFECOPY
(
user
.
tmpext
,
cfg
->
fcomp
[
0
]
->
ext
);
else
strcpy
(
user
.
tmpext
,
supported_archive_formats
[
0
]);
SAFECOPY
(
user
.
tmpext
,
supported_archive_formats
[
0
]);
user
.
shell
=
cfg
->
new_shell
;
user
.
misc
=
cfg
->
new_misc
|
(
AUTOTERM
|
COLOR
);
...
...