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
cfd62425
Commit
cfd62425
authored
Apr 14, 2022
by
Rob Swindell
💬
Browse files
Address new GCC warning instance
parent
238b0b7c
Pipeline
#2985
passed with stage
in 11 minutes and 21 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/sbbs3/main.cpp
src/sbbs3/main.cpp
+1
-1
No files found.
src/sbbs3/main.cpp
View file @
cfd62425
...
...
@@ -4207,7 +4207,7 @@ void sbbs_t::catsyslog(int crash)
free
((
char
*
)
buf
);
return
;
}
if
(
fwrite
(
buf
,
sizeof
(
uint8_t
),
length
,
fp
)
!=
length
)
{
if
(
fwrite
(
buf
,
sizeof
(
uint8_t
),
length
,
fp
)
!=
(
size_t
)
length
)
{
fcloselog
(
fp
);
errormsg
(
WHERE
,
ERR_WRITE
,
str
,
length
);
free
((
char
*
)
buf
);
...
...
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