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
94dbc396
Commit
94dbc396
authored
Apr 04, 2021
by
Rob Swindell
💬
Browse files
strcat() -> SAFECAT()
CID 174491
parent
9ae5d681
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/sbbs3/scfg/scfgnet.c
src/sbbs3/scfg/scfgnet.c
+1
-1
No files found.
src/sbbs3/scfg/scfgnet.c
View file @
94dbc396
...
@@ -1343,7 +1343,7 @@ char *daystr(char days)
...
@@ -1343,7 +1343,7 @@ char *daystr(char days)
str
[
0
]
=
0
;
str
[
0
]
=
0
;
for
(
i
=
0
;
i
<
7
;
i
++
)
{
for
(
i
=
0
;
i
<
7
;
i
++
)
{
if
(
days
&
(
1
<<
i
))
{
if
(
days
&
(
1
<<
i
))
{
strcat
(
str
,
wday
[
i
]);
SAFECAT
(
str
,
wday
[
i
]);
SAFECAT
(
str
,
" "
);
SAFECAT
(
str
,
" "
);
}
}
}
}
...
...
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