Read only one line from curl everywhere

This commit is contained in:
Shy 2024-08-29 10:16:27 +02:00
parent 9dd2a8fc59
commit 682199716a

2
c4mate
View file

@ -63,7 +63,7 @@ function MatePad:fetch(api, data)
"curl %s --cookie '%s' --cookie-jar '%s' '%s/%s'",
self.CURL_FLAGS, self.COOKIE_JAR, self.COOKIE_JAR, self.HOST, api))
end
responce = curl:read("*a")
responce = curl:read()
ok, exit, signal = curl:close()
if not ok then