提交 689f570f authored 作者: Mathieu Rene's avatar Mathieu Rene

final tweak?

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12451 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 35416bb9
...@@ -85,8 +85,9 @@ SWITCH_DECLARE(switch_status_t) switch_xml_config_parse(switch_xml_t xml, int re ...@@ -85,8 +85,9 @@ SWITCH_DECLARE(switch_status_t) switch_xml_config_parse(switch_xml_t xml, int re
case SWITCH_CONFIG_STRING: case SWITCH_CONFIG_STRING:
{ {
switch_xml_config_string_options_t *string_options = (switch_xml_config_string_options_t*)item->data; switch_xml_config_string_options_t *string_options = (switch_xml_config_string_options_t*)item->data;
const char *newstring = NULL;
if (string_options->length > 0) { if (string_options->length > 0) {
const char *newstring = NULL;
/* We have a preallocated buffer */ /* We have a preallocated buffer */
char *dest = (char*)item->ptr; char *dest = (char*)item->ptr;
if (value) { if (value) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论