| 32 | using Curl = unique_ptr<CURL, decltype(curl_deleter)>; |
| 33 | |
| 34 | static size_t string_write(char *ptr, size_t size, size_t nmemb, string &str) |
| 35 | { |
| 36 | size_t total = size * nmemb; |
| 37 | if (total) |
| 38 | str.append(ptr, total); |
| 39 | return total; |
| 40 | } |
| 41 | |
| 42 | void RemoteTextThread::run() |
| 43 | { |
nothing calls this directly
no outgoing calls
no test coverage detected