minor code formatting change

This commit is contained in:
Bob Polis 2020-09-02 09:57:45 +02:00
parent 762f58edd0
commit c155a70fad

View File

@ -24,9 +24,9 @@ size_t requester::write_data(char *buf, size_t sz, size_t nmemb, void *user_data
}
requester::requester() {
curl_global_init(CURL_GLOBAL_ALL);
_h = curl_easy_init();
curl_easy_setopt(_h, CURLOPT_WRITEFUNCTION, write_data);
curl_global_init(CURL_GLOBAL_ALL);
_h = curl_easy_init();
curl_easy_setopt(_h, CURLOPT_WRITEFUNCTION, write_data);
}
std::string requester::get(const std::string &url) {