提交 2c2b2869 authored 作者: Michael Jerris's avatar Michael Jerris

build tweak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9159 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 001897bb
......@@ -1258,7 +1258,7 @@ static switch_status_t cmd_status(char **argv, int argc, switch_stream_handle_t
} else if (!strcasecmp(argv[0], "profile")) {
struct cb_helper cb;
if ((profile = sofia_glue_find_profile(argv[1]))) {
if ((argv[1]) && (profile = sofia_glue_find_profile(argv[1]))) {
stream->write_function(stream, "%s\n", line);
stream->write_function(stream, "Name \t\t%s\n", switch_str_nil(argv[1]));
stream->write_function(stream, "Domain Name \t\t%s\n", switch_str_nil(profile->domain_name));
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论