diff options
| author | Eskil Queseth <eskilq@kth.se> | 2020-10-17 18:39:36 +0200 |
|---|---|---|
| committer | Eskil Queseth <eskilq@kth.se> | 2020-10-17 18:39:36 +0200 |
| commit | c873e4250c58d872763129bff2c0b0e6c91c0a2a (patch) | |
| tree | 1a55459dd031e5c56ce6ce0db943564aa97baace /mumd/src/state.rs | |
| parent | b10d20a20496eb9287975fc9fd9b688d59896031 (diff) | |
| download | mum-c873e4250c58d872763129bff2c0b0e6c91c0a2a.tar.gz | |
add pretty printing for mumctl status
Diffstat (limited to 'mumd/src/state.rs')
| -rw-r--r-- | mumd/src/state.rs | 2 |
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 |
