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
238b0b7c411b9b419da24061f1504687e678e420...cfd62425cd0c93e927989897befce4b38a3f62b9
Commits (1)
Address new GCC warning instance
· cfd62425
Rob Swindell
authored
Apr 14, 2022
cfd62425
Hide 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
);
...
...