This error message primarily applies to development tasks and will now
only show up when dev-mode is enabled via configure.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@424850
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
void stasis_log_bad_type_access(const char *name)
{
- if (!stasis_message_type_declined(name)) {
- ast_log(LOG_ERROR, "Use of %s() before init/after destruction\n", name);
- }
+#ifdef AST_DEVMODE
+ 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 */