Browse code

outbound: adjusted log message for trying to import the api

- when module is not loaded, a messages with 'failed' was printed,
which could trigger an alert even for info level

(cherry picked from commit 700617c6b3707fba16001f82fab6ca0370b23acf)
(cherry picked from commit a350e33b3fe13e807a621d12325342c93c4ab706)

Daniel-Constantin Mierla authored on 04/12/2015 16:30:06
Showing 1 changed files
... ...
@@ -51,7 +51,7 @@ inline static int ob_load_api(ob_api_t *pxb)
51 51
 	bind_ob_f bind_ob_exports;
52 52
 	if (!(bind_ob_exports = (bind_ob_f)find_export("bind_ob", 1, 0)))
53 53
 	{
54
-		LM_INFO("Failed to import bind_ob\n");
54
+		LM_INFO("unable to import bind_ob - maybe module is not loaded\n");
55 55
 		return -1;
56 56
 	}
57 57
 	return bind_ob_exports(pxb);