diff options
author | Richard Mudgett <rmudgett@digium.com> | 2011-06-07 23:14:25 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2011-06-07 23:14:25 +0000 |
commit | ba625fa7d5a7afb2eca3b1790faf6e5ff1fd6540 (patch) | |
tree | 9c0f6c666e4409db268c7cdd66c7e8294107049f | |
parent | 87552361935a3b38230a8a4d4691243d56564877 (diff) |
Correct some whitespace and a reference debug message.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@322284 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | channels/chan_sip.c | 2 | ||||
-rw-r--r-- | 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 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); }; /*! |