hrm this would never have worked

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16468 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2010-01-22 20:51:23 +00:00
parent cd8912cb46
commit 6c8f3519e4
1 changed files with 1 additions and 1 deletions

View File

@ -404,7 +404,7 @@ static long do_lookup_url(switch_memory_pool_t *pool, switch_event_t *event, cha
}
#else
if (timeout > 0) {
curl_easy_setopt(curl_handle, CURLOPT_TIMEOUT_MS, timeout);
curl_easy_setopt(curl_handle, CURLOPT_TIMEOUT, timeout);
} else {
curl_easy_setopt(curl_handle, CURLOPT_TIMEOUT, globals.curl_timeout/1000);
}