Module: sip-router Branch: kamailio_3.0 Commit: 40902d1e04afe5472ed2be14fa649694bef54142 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=40902d1e...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Sat Sep 18 11:24:20 2010 +0200
usrloc(k): updated index of domain column
- index is 14 - harmless case since domain value is tested against null as well (cherry picked from commit 390eefb442f0b3b41cf5a708270ecd98765b4a66)
---
modules_k/usrloc/udomain.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/usrloc/udomain.c b/modules_k/usrloc/udomain.c index ce3fde3..8f21e0f 100644 --- a/modules_k/usrloc/udomain.c +++ b/modules_k/usrloc/udomain.c @@ -433,7 +433,7 @@ int preload_udomain(db1_con_t* _c, udomain_t* _d)
if (use_domain) { domain = (char*)VAL_STRING(ROW_VALUES(row) + 14); - if (VAL_NULL(ROW_VALUES(row)+13) || domain==0 || domain[0]==0){ + if (VAL_NULL(ROW_VALUES(row)+14) || domain==0 || domain[0]==0){ LM_CRIT("empty domain record for user %.*s...skipping\n", user.len, user.s); continue;