aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/client.rs5
-rw-r--r--src/server.rs2
2 files changed, 0 insertions, 7 deletions
diff --git a/src/client.rs b/src/client.rs
index eb5205a..acc3425 100644
--- a/src/client.rs
+++ b/src/client.rs
@@ -84,8 +84,6 @@ pub fn run_client(host: &str, local_file: &str, remote_file: &str, remote_is_dir
common::source_files(&mut stream, local_file, remote_is_dir)
}
}
- // XXX: does Drop do this well enough?
- //stream.close().unwrap();
}
fn usage_client(opts: Options) {
@@ -183,7 +181,4 @@ pub fn main_client() {
exit(-1);
}
}
-
- // XXX: does Drop do this well enough?
- //stream.close().unwrap();
}
diff --git a/src/server.rs b/src/server.rs
index b749fcb..f9dc599 100644
--- a/src/server.rs
+++ b/src/server.rs
@@ -135,8 +135,6 @@ fn run_server(path: &str, is_recv: bool, recursive: bool, daemonize: bool, no_cr
common::source_files(&mut stream, path, recursive)
}
}
- // XXX: does Drop do this well enough?
- //stream.close().unwrap();
}
fn usage_server(opts: Options) {