Read only one line from curl everywhere
This commit is contained in:
parent
9dd2a8fc59
commit
682199716a
1 changed files with 1 additions and 1 deletions
2
c4mate
2
c4mate
|
@ -63,7 +63,7 @@ function MatePad:fetch(api, data)
|
||||||
"curl %s --cookie '%s' --cookie-jar '%s' '%s/%s'",
|
"curl %s --cookie '%s' --cookie-jar '%s' '%s/%s'",
|
||||||
self.CURL_FLAGS, self.COOKIE_JAR, self.COOKIE_JAR, self.HOST, api))
|
self.CURL_FLAGS, self.COOKIE_JAR, self.COOKIE_JAR, self.HOST, api))
|
||||||
end
|
end
|
||||||
responce = curl:read("*a")
|
responce = curl:read()
|
||||||
|
|
||||||
ok, exit, signal = curl:close()
|
ok, exit, signal = curl:close()
|
||||||
if not ok then
|
if not ok then
|
||||||
|
|
Loading…
Reference in a new issue