git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9230 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-08-06 19:56:44 +00:00
parent 3b9eb062b3
commit a2a748dd82
1 changed files with 2 additions and 0 deletions

View File

@ -1486,6 +1486,8 @@ SWITCH_DECLARE(switch_status_t) switch_xml_locate_user(const char *key,
goto end;
}
status = SWITCH_STATUS_FALSE;
if (ip) {
if ((*user = switch_xml_find_child(*domain, "user", "ip", ip))) {
status = SWITCH_STATUS_SUCCESS;