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
08c0934b
Commit
08c0934b
authored
Apr 23, 2020
by
rswindell
Browse files
Don't try to signal an empty semaphore path if the netmail_sem is blank.
parent
475c8c51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/sbbs3/postmsg.cpp
src/sbbs3/postmsg.cpp
+1
-1
No files found.
src/sbbs3/postmsg.cpp
View file @
08c0934b
...
...
@@ -462,7 +462,7 @@ extern "C" int DLLCALL savemsg(scfg_t* cfg, smb_t* smb, smbmsg_t* msg, client_t*
if
((
i
=
smb_addmsg
(
smb
,
msg
,
smb_storage_mode
(
cfg
,
smb
),
dupechk_hashes
,
xlat
,(
uchar
*
)
msgbuf
,
/* tail: */
NULL
))
==
SMB_SUCCESS
&&
msg
->
to
!=
NULL
/* no recipient means no header created at this stage */
)
{
if
(
smb
->
subnum
==
INVALID_SUB
)
{
if
(
msg
->
to_net
.
type
==
NET_FIDO
)
if
(
msg
->
to_net
.
type
==
NET_FIDO
&&
cfg
->
netmail_sem
[
0
]
)
ftouch
(
cmdstr
(
cfg
,
NULL
,
cfg
->
netmail_sem
,
nulstr
,
nulstr
,
NULL
));
}
else
signal_sub_sem
(
cfg
,
smb
->
subnum
);
...
...
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