build tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9159 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
001897bb6a
commit
2c2b28694b
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue