From 84c397679c6f763fab2e912a6b97076320d66dd1 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sat, 30 Sep 2023 15:56:26 +0530 Subject: lib/curl: clean up --- lib/curl.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3