Переглянути джерело

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
Daniel-Constantin Mierla 9 роки тому
батько
коміт
700617c6b3
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      modules/outbound/api.h

+ 1 - 1
modules/outbound/api.h

@@ -51,7 +51,7 @@ inline static int ob_load_api(ob_api_t *pxb)
 	bind_ob_f bind_ob_exports;
 	bind_ob_f bind_ob_exports;
 	if (!(bind_ob_exports = (bind_ob_f)find_export("bind_ob", 1, 0)))
 	if (!(bind_ob_exports = (bind_ob_f)find_export("bind_ob", 1, 0)))
 	{
 	{
-		LM_INFO("Failed to import bind_ob\n");
+		LM_INFO("unable to import bind_ob - maybe module is not loaded\n");
 		return -1;
 		return -1;
 	}
 	}
 	return bind_ob_exports(pxb);
 	return bind_ob_exports(pxb);