mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-25 09:11:09 +02:00
Actually store the return value of curl_easy_send, oops
This commit is contained in:
@@ -205,7 +205,7 @@ namespace LuaTCPSocket
|
||||
CURLcode res = CURLE_OK;
|
||||
if (!tcps->writeClosed)
|
||||
{
|
||||
curl_easy_send(tcps->easy, &data[writtenTotal], len - writtenTotal, &writtenNow);
|
||||
res = curl_easy_send(tcps->easy, &data[writtenTotal], len - writtenTotal, &writtenNow);
|
||||
}
|
||||
writtenTotal += writtenNow;
|
||||
if (writtenTotal >= len)
|
||||
|
Reference in New Issue
Block a user