Skip to content
Snippets Groups Projects
Commit 5e506385 authored by Kinsey Moore's avatar Kinsey Moore
Browse files

Stasis: Relegate log message to dev-mode

This error message primarily applies to development tasks and will now
only show up when dev-mode is enabled via configure.
........

Merged revisions 424850 from http://svn.asterisk.org/svn/asterisk/branches/13


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@424851 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 3dfc485e
Branches
Tags
No related merge requests found
...@@ -1132,9 +1132,9 @@ struct stasis_topic *stasis_topic_pool_get_topic(struct stasis_topic_pool *pool, ...@@ -1132,9 +1132,9 @@ struct stasis_topic *stasis_topic_pool_get_topic(struct stasis_topic_pool *pool,
void stasis_log_bad_type_access(const char *name) void stasis_log_bad_type_access(const char *name)
{ {
if (!stasis_message_type_declined(name)) { #ifdef AST_DEVMODE
ast_log(LOG_ERROR, "Use of %s() before init/after destruction\n", name); ast_log(LOG_ERROR, "Use of %s() before init/after destruction\n", name);
} #endif
} }
/*! \brief A multi object blob data structure to carry user event stasis messages */ /*! \brief A multi object blob data structure to carry user event stasis messages */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment