Module: sip-router
Branch: master
Commit: 5a25609343f5697e6ebcf8f49e589b992a8af72e
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5a25609…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Jul 16 17:19:48 2010 +0200
tm: use warn to print message if load_tm is not found
- in case of sl trying to import tm api for stateful reply, is not an
error if tm is not found
- modules importing tm api print error message if the function returns
error code and they need the tm
---
modules/tm/tm_load.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/tm/tm_load.h b/modules/tm/tm_load.h
index 11cf4e1..14b2256 100644
--- a/modules/tm/tm_load.h
+++ b/modules/tm/tm_load.h
@@ -143,7 +143,7 @@ static inline int load_tm_api(struct tm_binds* tmb)
load_tm = (load_tm_f)find_export("load_tm", NO_SCRIPT, 0);
if (load_tm == NULL) {
- LOG(L_ERR, "Cannot import load_tm function from tm module\n");
+ LOG(L_WARN, "Cannot import load_tm function from tm module\n");
return -1;
}