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:
parent
cd8912cb46
commit
6c8f3519e4
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue