fixed no response in test case of curl.

This commit is contained in:
Dhilan007 2014-07-02 10:18:07 +08:00
parent 427e9d2388
commit bcf2b0e2b6
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ void CurlTest::onTouchesEnded(const std::vector<Touch*>& touches, Event *event)
curl = curl_easy_init();
if (curl)
{
curl_easy_setopt(curl, CURLOPT_URL, "google.com");
curl_easy_setopt(curl, CURLOPT_URL, "baidu.com");
res = curl_easy_perform(curl);
/* always cleanup */
curl_easy_cleanup(curl);