Commit 259a0d17 authored by David Anderson's avatar David Anderson
Browse files

client: print network suspend reasons as strings

parent cbe3e29e
......@@ -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)
);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment