Merge pull request #7282 from Dhilan007/v3-320beta

fixed no response in test case of curl.
This commit is contained in:
minggo 2014-07-02 10:19:37 +08:00
commit 77762cd8b9
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(); 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);