diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-04-28 19:55:23 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-04-28 19:56:28 +0100 |
commit | 9cc0d4220fd7b13c3b2f15e7cb8b06f6f1b0e2fb (patch) | |
tree | df66613a88f771f58667673884d9fb95e4c7d3ff /src/cryptonote_basic/connection_context.h | |
parent | Merge pull request #3709 (diff) | |
download | monero-9cc0d4220fd7b13c3b2f15e7cb8b06f6f1b0e2fb.tar.xz |
connection_context: remove "state_" prefix from state names
It's redundant and makes it easier to print them in columns
Diffstat (limited to '')
-rw-r--r-- | src/cryptonote_basic/connection_context.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cryptonote_basic/connection_context.h b/src/cryptonote_basic/connection_context.h index 5cd1709ab..3f4651565 100644 --- a/src/cryptonote_basic/connection_context.h +++ b/src/cryptonote_basic/connection_context.h @@ -67,15 +67,15 @@ namespace cryptonote switch (s) { case cryptonote_connection_context::state_before_handshake: - return "state_before_handshake"; + return "before_handshake"; case cryptonote_connection_context::state_synchronizing: - return "state_synchronizing"; + return "synchronizing"; case cryptonote_connection_context::state_standby: - return "state_standby"; + return "standby"; case cryptonote_connection_context::state_idle: - return "state_idle"; + return "idle"; case cryptonote_connection_context::state_normal: - return "state_normal"; + return "normal"; default: return "unknown"; } |