提交 f7b99428 authored 作者: Anthony Minessale's avatar Anthony Minessale

thanks Ctrix

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8777 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 9e3ff7cf
...@@ -1126,7 +1126,7 @@ SWITCH_STANDARD_API(fifo_api_function) ...@@ -1126,7 +1126,7 @@ SWITCH_STANDARD_API(fifo_api_function)
switch_safe_free(xml_text); switch_safe_free(xml_text);
} else if (!strcasecmp(argv[0], "importance")) { } else if (!strcasecmp(argv[0], "importance")) {
if ((node = switch_core_hash_find(globals.fifo_hash, argv[1]))) { if (argv[1] && (node = switch_core_hash_find(globals.fifo_hash, argv[1]))) {
int importance = 0; int importance = 0;
if (argc > 2) { if (argc > 2) {
importance = atoi(argv[2]); importance = atoi(argv[2]);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论