]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 3 Dec 2008 20:12:55 +0000 (20:12 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 3 Dec 2008 20:12:55 +0000 (20:12 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10583 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/xml_int/mod_xml_curl/mod_xml_curl.c

index 8ea1b1860810170cf635b7c5538982759fc18cca..b576f8d7ef1d85667612e8dfe7aec0ace236e3d5 100644 (file)
@@ -155,7 +155,7 @@ static switch_xml_t xml_url_fetch(const char *section, const char *tag_name, con
        switch_assert(data);
 
        if (binding->use_dynamic_url) {
-               switch_event_add_header_string(params, SWITCH_STACK_TOP, "hostname", switch_str_nil(hostname));
+               switch_event_add_header_string(params, SWITCH_STACK_TOP, "hostname", hostname);
                switch_event_add_header_string(params, SWITCH_STACK_TOP, "section", switch_str_nil(section));
                switch_event_add_header_string(params, SWITCH_STACK_TOP, "tag_name", switch_str_nil(tag_name));
                switch_event_add_header_string(params, SWITCH_STACK_TOP, "key_name", switch_str_nil(key_name));