From 2d554cf2c2887ff2513467ef21778b6dcbb374cf Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Mon, 2 Oct 2023 14:04:52 +0530 Subject: lib/curl: curl.zip_to_local_file -> zip_link_to_file --- server/opensubtitles.lua | 2 +- server/subscene.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'server') diff --git a/server/opensubtitles.lua b/server/opensubtitles.lua index 6e96703..328e958 100644 --- a/server/opensubtitles.lua +++ b/server/opensubtitles.lua @@ -140,7 +140,7 @@ local search = function (path, out) ohash = util.opensubtitles_hash(path) link = search_ohash(ohash) if link then - return curl.zip_to_local_file(link, nil, out, retries) + return curl.zip_link_to_file(link, nil, out, retries) end end diff --git a/server/subscene.lua b/server/subscene.lua index 43f2e88..24ed4f8 100644 --- a/server/subscene.lua +++ b/server/subscene.lua @@ -181,9 +181,9 @@ local search = function (path, out) return false end - rc = curl.zip_to_local_file(link, headr, out, retries) + rc = curl.zip_link_to_file(link, headr, out, retries) if not rc then - util.error('subscene: sub_fetch') + util.error('subscene: zip_link_to_file') return false end -- cgit v1.2.3