Browse Source

transfer-download: properly return status when starting transfer

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

+ 2
- 0
src/mconnect/transfer-download.vala View File

@ -61,6 +61,7 @@ class DownloadTransfer : TransferInterface, Object {
var err ="failed to connect: %s".printf(e.message);
warning(err);
this.cleanup_error(err);
return false;
}
var sock = this.conn.get_socket();
@ -79,6 +80,7 @@ class DownloadTransfer : TransferInterface, Object {
var err ="TLS handshake failed: %s".printf(e.message);
warning(err);
this.cleanup_error(err);
return false;
}
this.start_transfer();


Loading…
Cancel
Save