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
7e1c3c3d
Commit
7e1c3c3d
authored
Mar 13, 2022
by
Rob Swindell
💬
Browse files
Fix CID 319119: Unchecked return value from library
Actually probably doesn't fix it, but what'evs
parent
570f6f5e
Pipeline
#2883
passed with stage
in 17 minutes and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/sbbs3/netmail.cpp
src/sbbs3/netmail.cpp
+3
-3
No files found.
src/sbbs3/netmail.cpp
View file @
7e1c3c3d
...
...
@@ -1049,7 +1049,7 @@ bool sbbs_t::inetmail(const char *into, const char *subj, long mode, smb_t* resm
if
(
fexistcase
(
str2
))
{
strListFree
(
&
rcpt_list
);
bputs
(
text
[
FileAlreadyThere
]);
remove
(
msgpath
);
(
void
)
remove
(
msgpath
);
return
(
false
);
}
{
/* Remote */
...
...
@@ -1065,7 +1065,7 @@ bool sbbs_t::inetmail(const char *into, const char *subj, long mode, smb_t* resm
if
(
ch
==
quit_key
()
||
sys_status
&
SS_ABORT
)
{
bputs
(
text
[
Aborted
]);
strListFree
(
&
rcpt_list
);
remove
(
msgpath
);
(
void
)
remove
(
msgpath
);
return
(
false
);
}
for
(
x
=
0
;
x
<
cfg
.
total_prots
;
x
++
)
...
...
@@ -1084,7 +1084,7 @@ bool sbbs_t::inetmail(const char *into, const char *subj, long mode, smb_t* resm
else
{
bprintf
(
text
[
FileNotReceived
],
title
);
strListFree
(
&
rcpt_list
);
remove
(
msgpath
);
(
void
)
remove
(
msgpath
);
return
(
false
);
}
}
...
...
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