Module: sip-router
Branch: master
Commit: 2190c572cd1bc4b57a3c2dd5241e556b834c728c
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2190c57…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: Tue Apr 16 14:28:59 2013 +0300
modules/usrloc: init _ul_sruid also in mi_child_init
---
modules/usrloc/ul_mod.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/usrloc/ul_mod.c b/modules/usrloc/ul_mod.c
index 6f13bf5..a9b0a09 100644
--- a/modules/usrloc/ul_mod.c
+++ b/modules/usrloc/ul_mod.c
@@ -467,6 +467,9 @@ static int mi_child_init(void)
return -1;
}
}
+
+ if(sruid_init(&_ul_sruid, '-', "ulcx", SRUID_INC)<0)
+ return -1;
done = 1;
return 0;