diff options
author | Stijn Buys <ingar@osirion.org> | 2009-01-11 16:51:21 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-01-11 16:51:21 +0000 |
commit | 01a803bec48b1377d2714bce819fb2544eeeb44b (patch) | |
tree | 915a70eb23ea4f15f0a1293b2bdf5e594a10578a /src/core/netconnection.cc | |
parent | 20e8e4c0fb1262a25c2491679da4587d264208a2 (diff) |
initial loader frame
Diffstat (limited to 'src/core/netconnection.cc')
-rw-r--r-- | src/core/netconnection.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/netconnection.cc b/src/core/netconnection.cc index 790b037..eb9ad53 100644 --- a/src/core/netconnection.cc +++ b/src/core/netconnection.cc @@ -94,8 +94,10 @@ void NetConnection::connect(std::string const &to_host, int to_port) connection_state = Pending; game()->localplayer()->set_dirty(); - - con_print << "Connecting to " << inet_ntoa(*((struct in_addr *)serverhostent->h_addr)) << ":" << to_port << "..." << std::endl; + std::stringstream str; + str << "Connecting to " << inet_ntoa(*((struct in_addr *)serverhostent->h_addr)) << ":" << to_port << "..."; + con_print << str.str() << std::endl; + application()->notify_loader(str.str()); } void NetConnection::disconnect() |