From 682199716ae94bc82643bc723dc4d98e07e8f73d Mon Sep 17 00:00:00 2001 From: Shy Date: Thu, 29 Aug 2024 10:16:27 +0200 Subject: [PATCH] Read only one line from curl everywhere --- c4mate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c4mate b/c4mate index e827fb4..c9f86dc 100755 --- a/c4mate +++ b/c4mate @@ -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