aboutsummaryrefslogtreecommitdiffstats
path: root/mumd/src
diff options
context:
space:
mode:
authorEskil Queseth <eskilq@kth.se>2020-10-17 18:39:36 +0200
committerEskil Queseth <eskilq@kth.se>2020-10-17 18:39:36 +0200
commitc873e4250c58d872763129bff2c0b0e6c91c0a2a (patch)
tree1a55459dd031e5c56ce6ce0db943564aa97baace /mumd/src
parentb10d20a20496eb9287975fc9fd9b688d59896031 (diff)
downloadmum-c873e4250c58d872763129bff2c0b0e6c91c0a2a.tar.gz
add pretty printing for mumctl status
Diffstat (limited to 'mumd/src')
-rw-r--r--mumd/src/state.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mumd/src/state.rs b/mumd/src/state.rs
index 4182b6c..2ad88ad 100644
--- a/mumd/src/state.rs
+++ b/mumd/src/state.rs
@@ -87,7 +87,7 @@ impl State {
}
let mut server = Server::new();
server.username = Some(username);
- server.host = Some(host.clone());
+ server.host = Some(format!("{}:{}", host, port));
self.server = Some(server);
self.phase_watcher
.0