aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-05-29 21:07:41 -0400
committerbnewbold <bnewbold@robocracy.org>2016-05-29 21:07:41 -0400
commitcadf11e34d2b88da323ca98573238be2ac3a0824 (patch)
tree2ad84eb79e1c0e0ddb968cad633d06cb8c64f2f2 /src
parentc5d696e079b7fbfa54b3460bebdaf185a56574de (diff)
downloaducp-cadf11e34d2b88da323ca98573238be2ac3a0824.tar.gz
ucp-cadf11e34d2b88da323ca98573238be2ac3a0824.zip
fix local/remote polarity in main ucp command
Diffstat (limited to 'src')
-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);
},
}