p->peercaps = ast_format_cap_destroy(p->peercaps);
p->redircaps = ast_format_cap_destroy(p->redircaps);
p->prefcaps = ast_format_cap_destroy(p->prefcaps);
- ao2_t_ref(p, -1, "Yuck, couldn't allocate cc_params struct. Get rid o' p");
+ ao2_t_ref(p, -1, "Yuck, couldn't allocate format capabilities. Get rid o' p");
return NULL;
}
* A message technology is capable of transmitting text messages.
*/
struct ast_msg_tech {
- /*!
- * \brief Name of this message technology
- *
- * This is the name that comes at the beginning of a URI for messages
- * that should be sent to this message technology implementation.
- * For example, messages sent to "xmpp:rbryant@digium.com" would be
- * passed to the ast_msg_tech with a name of "xmpp".
- */
- const char * const name;
- /*!
- * \brief Send a message.
+ /*!
+ * \brief Name of this message technology
+ *
+ * This is the name that comes at the beginning of a URI for messages
+ * that should be sent to this message technology implementation.
+ * For example, messages sent to "xmpp:rbryant@digium.com" would be
+ * passed to the ast_msg_tech with a name of "xmpp".
+ */
+ const char * const name;
+ /*!
+ * \brief Send a message.
*
* \param msg the message to send
* \param to the URI of where the message is being sent
*
* \retval 0 success
* \retval non-zero failure
- */
- int (* const msg_send)(const struct ast_msg *msg, const char *to, const char *from);
+ */
+ int (* const msg_send)(const struct ast_msg *msg, const char *to, const char *from);
};
/*!