[Freeswitch-svn] [commit] r9159 - freeswitch/trunk/src/mod/endpoints/mod_sofia
Freeswitch SVN
mikej at freeswitch.org
Thu Jul 24 04:06:39 EDT 2008
Author: mikej
Date: Thu Jul 24 04:06:39 2008
New Revision: 9159
Modified:
freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c
Log:
build tweak
Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c Thu Jul 24 04:06:39 2008
@@ -1258,7 +1258,7 @@
} 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));
More information about the Freeswitch-svn
mailing list