提交 6c8f3519 authored 作者: Brian West's avatar Brian West

hrm this would never have worked

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16468 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 cd8912cb
...@@ -404,7 +404,7 @@ static long do_lookup_url(switch_memory_pool_t *pool, switch_event_t *event, cha ...@@ -404,7 +404,7 @@ static long do_lookup_url(switch_memory_pool_t *pool, switch_event_t *event, cha
} }
#else #else
if (timeout > 0) { if (timeout > 0) {
curl_easy_setopt(curl_handle, CURLOPT_TIMEOUT_MS, timeout); curl_easy_setopt(curl_handle, CURLOPT_TIMEOUT, timeout);
} else { } else {
curl_easy_setopt(curl_handle, CURLOPT_TIMEOUT, globals.curl_timeout/1000); curl_easy_setopt(curl_handle, CURLOPT_TIMEOUT, globals.curl_timeout/1000);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论