From cadf11e34d2b88da323ca98573238be2ac3a0824 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Sun, 29 May 2016 21:07:41 -0400 Subject: fix local/remote polarity in main ucp command --- src/main.rs | 4 ++-- 1 file 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); }, } -- cgit v1.2.3