Module: sip-router
Branch: master
Commit: a28c9c753f7012d50183f467452cabd35c210580
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a28c9c7…
Author: Alex Hermann <alex(a)speakup.nl>
Committer: Alex Hermann <alex(a)speakup.nl>
Date: Fri Jun 3 16:12:19 2011 +0200
modules_k/uac: fix reg_ht_get_byuser when domain is not used.
---
modules_k/uac/uac_reg.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules_k/uac/uac_reg.c b/modules_k/uac/uac_reg.c
index d2677c1..21a8c08 100644
--- a/modules_k/uac/uac_reg.c
+++ b/modules_k/uac/uac_reg.c
@@ -381,6 +381,8 @@ reg_uac_t *reg_ht_get_byuser(str *user, str *domain)
{
return it->r;
}
+ } else {
+ return it->r;
}
}
it = it->next;