summaryrefslogtreecommitdiff
path: root/server/server.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/server.cc')
-rw-r--r--server/server.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server.cc b/server/server.cc
index 5088fa5..dfe024a 100644
--- a/server/server.cc
+++ b/server/server.cc
@@ -65,7 +65,7 @@ void newConnection(Socket *socket)
Network network(socket);
MIaV::info->info("CONNECTION OPENED");
- MIaV::info->info("New connection (%s)", inet_ntoa(socket->socketaddr.sin_addr));
+ MIaV::info->info("New connection (%s)", socket->address().c_str());
Frame *frame;
while((frame = network.recvFrame())) {