Mercurial > minori
comparison src/core/http.cc @ 393:963047512d34
*: clang-format
| author | Paper <paper@tflc.us> |
|---|---|
| date | Fri, 07 Nov 2025 07:16:15 -0500 |
| parents | 2d3e10319112 |
| children | 8ed3b5e8f205 |
comparison
equal
deleted
inserted
replaced
| 392:a72d6d7b3568 | 393:963047512d34 |
|---|---|
| 63 } | 63 } |
| 64 | 64 |
| 65 return base; | 65 return base; |
| 66 } | 66 } |
| 67 | 67 |
| 68 static void SetCurlOpts(CURL *curl, const std::string &url, const std::vector<std::string> &headers, const std::string &data, Type type) | 68 static void SetCurlOpts(CURL *curl, const std::string &url, const std::vector<std::string> &headers, |
| 69 const std::string &data, Type type) | |
| 69 { | 70 { |
| 70 struct curl_slist *list; | 71 struct curl_slist *list; |
| 71 | 72 |
| 72 curl_easy_setopt(curl, CURLOPT_URL, url.c_str()); | 73 curl_easy_setopt(curl, CURLOPT_URL, url.c_str()); |
| 73 | 74 |
