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
07503ac3
Commit
07503ac3
authored
Apr 15, 2022
by
Rob Swindell
💬
Browse files
Address Coverity-reported printf format issue
CID 351997 and 351998
parent
1080ab0d
Pipeline
#2989
passed with stage
in 10 minutes and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/sbbs3/scfg/scfgsys.c
src/sbbs3/scfg/scfgsys.c
+1
-1
No files found.
src/sbbs3/scfg/scfgsys.c
View file @
07503ac3
...
...
@@ -1393,7 +1393,7 @@ void sys_cfg(void)
strcpy
(
str
,
"None"
);
sprintf
(
opt
[
i
++
],
"%-27.27s%s"
,
"Mail Database Backups"
,
str
);
if
(
cfg
.
max_log_size
&&
cfg
.
max_logs_kept
)
{
SAFEPRINTF2
(
str
,
"%s bytes, keep %
l
u"
SAFEPRINTF2
(
str
,
"%s bytes, keep %
h
u"
,
byte_count_to_str
(
cfg
.
max_log_size
,
tmp
,
sizeof
(
tmp
))
,
cfg
.
max_logs_kept
);
}
else
{
...
...
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