minor code formatting change
This commit is contained in:
parent
762f58edd0
commit
c155a70fad
@ -24,9 +24,9 @@ size_t requester::write_data(char *buf, size_t sz, size_t nmemb, void *user_data
|
|||||||
}
|
}
|
||||||
|
|
||||||
requester::requester() {
|
requester::requester() {
|
||||||
curl_global_init(CURL_GLOBAL_ALL);
|
curl_global_init(CURL_GLOBAL_ALL);
|
||||||
_h = curl_easy_init();
|
_h = curl_easy_init();
|
||||||
curl_easy_setopt(_h, CURLOPT_WRITEFUNCTION, write_data);
|
curl_easy_setopt(_h, CURLOPT_WRITEFUNCTION, write_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string requester::get(const std::string &url) {
|
std::string requester::get(const std::string &url) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user