type tweaks.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1449 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2006-05-12 19:39:45 +00:00
parent 6bf06c5227
commit 3cb9008799
1 changed files with 2 additions and 2 deletions

View File

@ -111,13 +111,13 @@ static struct xml_section_t SECTIONS[] = {
SWITCH_DECLARE(switch_xml_section_t) switch_xml_parse_section_string(char *str)
{
int x;
size_t x;
char buf[1024] = "";
switch_xml_section_t sections = SWITCH_XML_SECTION_RESULT;
if (str) {
for(x = 0; x < strlen(str); x++) {
buf[x] = tolower(str[x]);
buf[x] = (char)tolower(str[x]);
}
for(x = 0;;x++) {
if (!SECTIONS[x].name) {