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
e54263fd
Commit
e54263fd
authored
Jun 14, 2022
by
Rob Swindell
💬
Browse files
Log command-line that led to logged error opening DOSXTRN.RET
parent
3823fea1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/sbbs3/xtrn.cpp
src/sbbs3/xtrn.cpp
+1
-1
No files found.
src/sbbs3/xtrn.cpp
View file @
e54263fd
...
...
@@ -842,7 +842,7 @@ int sbbs_t::external(const char* cmdline, long mode, const char* startup_dir)
SAFEPRINTF
(
path
,
"%sDOSXTRN.RET"
,
cfg
.
node_dir
);
FILE
*
fp
=
fopen
(
path
,
"r"
);
if
(
fp
==
NULL
)
{
lprintf
(
LOG_ERR
,
"Error %d opening %s"
,
errno
,
path
);
lprintf
(
LOG_ERR
,
"Error %d opening
%s after running
%s"
,
errno
,
path
,
cmdline
);
}
else
{
if
(
fscanf
(
fp
,
"%d"
,
&
retval
)
!=
1
)
{
lprintf
(
LOG_ERR
,
"Error reading return value from %s"
,
path
);
...
...
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