peliminary sofia inbound reg support rm all traces of sofia and rebuild or face certian doom

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2843 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2006-09-27 03:44:14 +00:00
parent 3f59051b0a
commit 5a3a8297ef
3 changed files with 278 additions and 16 deletions

View File

@@ -168,8 +168,7 @@ SWITCH_DECLARE(switch_xml_t) switch_xml_find_child(switch_xml_t node, char *chil
for (p = switch_xml_child(node, childname); p; p = p->next) {
const char *aname = switch_xml_attr(p, attrname);
if (!strcasecmp(aname, value)) {
if (aname && value && !strcasecmp(aname, value)) {
break;
}
}