bracketless if fix

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9076 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2008-07-17 20:33:50 +00:00
parent ccbf39361f
commit ca518b4afd
1 changed files with 2 additions and 1 deletions

View File

@ -451,8 +451,9 @@ static switch_status_t do_config(void)
switch_xml_bind_search_function(perl_fetch, switch_xml_parse_section_string(val), NULL);
}
} else if (!strcmp(var, "startup-script")) {
if ( val )
if (val) {
perl_thread(val);
}
}
}
}