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
9187c26d
Commit
9187c26d
authored
Jan 25, 2022
by
Rob Swindell
💬
Browse files
Remove the extra stderr output for debug-level log msgs on *nix
As reported by Nelgin
parent
1da032de
Pipeline
#2626
passed with stage
in 9 minutes and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
src/sexpots/sexpots.c
src/sexpots/sexpots.c
+0
-5
No files found.
src/sexpots/sexpots.c
View file @
9187c26d
...
...
@@ -216,11 +216,6 @@ void lputs(int level, const char* str)
_snprintf
(
dbgmsg
,
sizeof
(
dbgmsg
),
"%s %s"
,
NAME
,
str
);
if
(
log_level
==
LOG_DEBUG
)
OutputDebugString
(
dbgmsg
);
#else
char
dbgmsg
[
1024
];
snprintf
(
dbgmsg
,
sizeof
(
dbgmsg
),
"%s %s"
,
NAME
,
str
);
if
(
log_level
==
LOG_DEBUG
)
fputs
(
dbgmsg
,
stderr
);
#endif
if
(
level
>
log_level
)
...
...
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