Module: sip-router
Branch: kamailio_3.0
Commit: 055915a558a485cda17c9bb1c8e43aca12d116b5
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=055915a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sat Jan 30 17:02:37 2010 +0100
core: use dlflags to load modules
- dlflags var used for dlopen function
---
sr_module.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sr_module.c b/sr_module.c
index b8db2c7..d5dc322 100644
--- a/sr_module.c
+++ b/sr_module.c
@@ -384,7 +384,7 @@ int load_module(char* mod_path)
retries=2;
dlflags=RTLD_NOW;
reload:
- handle=dlopen(path, RTLD_NOW); /* resolve all symbols now */
+ handle=dlopen(path, dlflags); /* resolve all symbols now */
if (handle==0){
LOG(L_ERR, "ERROR: load_module: could not open module <%s>: %s\n",
path, dlerror());