From: Brian West Date: Fri, 22 Jan 2010 20:51:23 +0000 (+0000) Subject: hrm this would never have worked X-Git-Tag: v1.0.6~628 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c8f3519e472ccd85ed09ee127ca9822875df733;p=thirdparty%2Ffreeswitch.git hrm this would never have worked git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16468 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_cidlookup/mod_cidlookup.c b/src/mod/applications/mod_cidlookup/mod_cidlookup.c index ed3061a02d..5a3cf7286a 100755 --- a/src/mod/applications/mod_cidlookup/mod_cidlookup.c +++ b/src/mod/applications/mod_cidlookup/mod_cidlookup.c @@ -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); }