Skip to content

Commit

Permalink
outbound: adjusted log message for trying to import the api
Browse files Browse the repository at this point in the history
- when module is not loaded, a messages with 'failed' was printed,
  which could trigger an alert even for info level

(cherry picked from commit 700617c)
(cherry picked from commit a350e33)
(cherry picked from commit dc6522a)
  • Loading branch information
miconda committed Dec 18, 2015
1 parent 58b3282 commit 85d59b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/outbound/api.h
Expand Up @@ -51,7 +51,7 @@ inline static int ob_load_api(ob_api_t *pxb)
bind_ob_f bind_ob_exports;
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 bind_ob_exports(pxb);
Expand Down

0 comments on commit 85d59b0

Please sign in to comment.