mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-02 01:25:11 +00:00
fix bug in xml_curl that was being masked by versions < 679da2f0f6
This commit is contained in:
1 parent
bebf3028d8
commit
becb8b6277
2 files changed
+2
-2
No files matched your search
@@ -205,7 +205,7 @@ static switch_xml_t xml_url_fetch(const char *section, const char *tag_name, con
|
||||
switch_uuid_get(&uuid);
|
||||
switch_uuid_format(uuid_str, &uuid);
|
||||
|
||||
switch_snprintf(filename, sizeof(filename), "%s%s.tmp.xml", SWITCH_GLOBAL_dirs.temp_dir, uuid_str);
|
||||
switch_snprintf(filename, sizeof(filename), "%s%s%s.tmp.xml", SWITCH_GLOBAL_dirs.temp_dir, SWITCH_PATH_SEPARATOR, uuid_str);
|
||||
curl_handle = switch_curl_easy_init();
|
||||
headers = switch_curl_slist_append(headers, "Content-Type: application/x-www-form-urlencoded");
|
||||
|
||||
|
||||
Reference in new issue
Block a user