Module: sip-router
Branch: 4.0
Commit: 9d39d8b86576ca9784b96ebb43161c3174754876
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9d39d8b…
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
(cherry picked from commit 2190c572cd1bc4b57a3c2dd5241e556b834c728c)
---
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 307c887..36c1842 100644
--- a/modules/usrloc/ul_mod.c
+++ b/modules/usrloc/ul_mod.c
@@ -463,6 +463,9 @@ static int mi_child_init(void)
return -1;
}
}
+
+ if(sruid_init(&_ul_sruid, '-', "ulcx", SRUID_INC)<0)
+ return -1;
done = 1;
return 0;