diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/curl.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/curl.lua b/lib/curl.lua index 8bc4eec..bcbcfe4 100644 --- a/lib/curl.lua +++ b/lib/curl.lua @@ -21,8 +21,8 @@ local get = function (url, headr, args) local cmd, fetch, scode headr = util.table_merge(headr, def_headr) - cmd = 'curl -s --compressed --write-out %{http_code} ' - cmd = cmd .. url .. gen_head(headr) + cmd = 'curl -s --compressed --write-out %{http_code} ' .. + url .. gen_head(headr) if args then cmd = cmd .. ' ' .. args end |