Browse Source

transfer-upload: cast remote address to InetSocketAddress

bboozzoo/share
Maciek Borzecki 7 years ago
parent
commit
577be335c4
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/mconnect/transfer-upload.vala

+ 2
- 1
src/mconnect/transfer-upload.vala View File

@ -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;


Loading…
Cancel
Save