diff --git a/src/mconnect/transfer-upload.vala b/src/mconnect/transfer-upload.vala index b5fa484..2e39fd8 100644 --- a/src/mconnect/transfer-upload.vala +++ b/src/mconnect/transfer-upload.vala @@ -71,7 +71,8 @@ class UploadTransfer : TransferInterface, Object { } private async void handle_client(SocketConnection conn) { - debug("client connected: %s", conn.get_remote_address().to_string()); + var remote = conn.get_remote_address() as InetSocketAddress; + debug("client connected: %s", remote.to_string()); this.conn = conn;