mirror of https://github.com/axmolengine/axmol.git
Merge pull request #7282 from Dhilan007/v3-320beta
fixed no response in test case of curl.
This commit is contained in:
commit
77762cd8b9
|
@ -33,7 +33,7 @@ void CurlTest::onTouchesEnded(const std::vector<Touch*>& touches, Event *event)
|
||||||
curl = curl_easy_init();
|
curl = curl_easy_init();
|
||||||
if (curl)
|
if (curl)
|
||||||
{
|
{
|
||||||
curl_easy_setopt(curl, CURLOPT_URL, "google.com");
|
curl_easy_setopt(curl, CURLOPT_URL, "baidu.com");
|
||||||
res = curl_easy_perform(curl);
|
res = curl_easy_perform(curl);
|
||||||
/* always cleanup */
|
/* always cleanup */
|
||||||
curl_easy_cleanup(curl);
|
curl_easy_cleanup(curl);
|
||||||
|
|
Loading…
Reference in New Issue