summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--channels/chan_sip.c2
-rw-r--r--include/asterisk/message.h26
2 files changed, 14 insertions, 14 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index f4fe16a9b..157e6cb88 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -7411,7 +7411,7 @@ struct sip_pvt *sip_alloc(ast_string_field callid, struct ast_sockaddr *addr,
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;
}
diff --git a/include/asterisk/message.h b/include/asterisk/message.h
index f2fe493b1..e52c4c406 100644
--- a/include/asterisk/message.h
+++ b/include/asterisk/message.h
@@ -49,17 +49,17 @@ struct ast_msg;
* 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
@@ -70,8 +70,8 @@ struct ast_msg_tech {
*
* \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);
};
/*!