aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index dc328f3..b5a9123 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -82,10 +82,10 @@ fn main() {
},
(false, true) => {
let is_recv = false;
- let remote_file = &srcfile;
+ let local_file = &srcfile;
let spl: Vec<&str> = destfile.split(":").collect();
let host = spl[0];
- let local_file = spl[1];
+ let remote_file = spl[1];
client::run_client(host, local_file, remote_file, recursive, is_recv);
},
}