From 8d3a07561d63c93597ff2d65d50552e4f03d4614 Mon Sep 17 00:00:00 2001 From: Gordon Hecker Date: Thu, 22 Oct 2009 13:16:23 +0200 Subject: [PATCH] whitespace fixes Signed-off-by: Gordon Hecker --- generic/transport.lua | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/generic/transport.lua b/generic/transport.lua index f72129f..a2258c1 100644 --- a/generic/transport.lua +++ b/generic/transport.lua @@ -166,7 +166,7 @@ function fetch_file(surl, location, destdir, destname) else user = "" end - if u.port then + if u.port then if u.transport == "scp" then port = "-P " .. u.port else @@ -174,12 +174,11 @@ function fetch_file(surl, location, destdir, destname) end else port = "" - end + end - local args = string.format( - " %s '%s%s:/%s/%s' '%s/%s'", - port,user, u.servername, u.path, location, - destdir, tmpfile) + local args = string.format(" %s '%s%s:/%s/%s' '%s/%s'", + port,user, u.servername, u.path, + location, destdir, tmpfile) rc, re = e2lib.scp(args) if not rc then return false, e:cat(re) -- 2.39.5