From ba625fa7d5a7afb2eca3b1790faf6e5ff1fd6540 Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Tue, 7 Jun 2011 23:14:25 +0000 Subject: [PATCH] Correct some whitespace and a reference debug message. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@322284 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 2 +- include/asterisk/message.h | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index f4fe16a9b2..157e6cb88f 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 f2fe493b17..e52c4c4060 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); }; /*!