Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
einsteinathome
boinc
Commits
259a0d17
Commit
259a0d17
authored
Oct 12, 2015
by
David Anderson
Browse files
client: print network suspend reasons as strings
parent
cbe3e29e
Changes
1
Hide whitespace changes
Inline
Side-by-side
client/cs_prefs.cpp
View file @
259a0d17
...
...
@@ -485,8 +485,10 @@ void CLIENT_STATE::check_suspend_network() {
done:
if
(
log_flags
.
suspend_debug
)
{
msg_printf
(
0
,
MSG_INFO
,
"[suspend] net_susp %d file_xfer_susp %d reason %d"
,
network_suspended
,
file_xfers_suspended
,
network_suspend_reason
msg_printf
(
0
,
MSG_INFO
,
"[suspend] net_susp: %s; file_xfer_susp: %s; reason: %s"
,
network_suspended
?
"yes"
:
"no"
,
file_xfers_suspended
?
"yes"
:
"no"
,
suspend_reason_string
(
network_suspend_reason
)
);
}
}
...
...
Write
Preview
Supports
Markdown
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