FS-2936 please test on windows

This commit is contained in:
Anthony Minessale
2011-05-11 10:07:00 -05:00
parent e544e4cff1
commit 7064487df2
16 changed files with 24 additions and 28 deletions
-1
View File
@@ -1,2 +1 @@
WANT_CURL=yes
include ../../../../build/modmake.rules
-1
View File
@@ -1,2 +1 @@
WANT_CURL=yes
include ../../../../build/modmake.rules
+1 -4
View File
@@ -547,9 +547,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_xml_curl_load)
globals.hash_root = NULL;
globals.hash_tail = NULL;
if (do_config() == SWITCH_STATUS_SUCCESS) {
curl_global_init(CURL_GLOBAL_ALL);
} else {
if (do_config() != SWITCH_STATUS_SUCCESS) {
return SWITCH_STATUS_FALSE;
}
@@ -573,7 +571,6 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_xml_curl_shutdown)
}
switch_xml_unbind_search_function_ptr(xml_url_fetch);
curl_global_cleanup();
return SWITCH_STATUS_SUCCESS;
}