summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2006-05-05 21:55:25 +0000
committerRussell Bryant <russell@russellbryant.com>2006-05-05 21:55:25 +0000
commitb6ac5b36c6ed74f9591a295ae14f0d10793db772 (patch)
treee69a968cc40d023aa8d13e35f24d6857ab294ee8 /channels
parente91afbaef120261c80921ff06cea9c78135c57a8 (diff)
document the return value of gettag()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25063 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index c13d9a9ce..07c355221 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -10778,7 +10778,11 @@ static int attempt_transfer(struct sip_pvt *p1, struct sip_pvt *p2)
return 0;
}
-/*! \brief Get tag from packet */
+/*! \brief Get tag from packet
+ *
+ * \return Returns the pointer to the provided tag buffer,
+ * or NULL if the tag was not found.
+ */
static const char *gettag(const struct sip_request *req, char *header, char *tagbuf, int tagbufsize)
{
const char *thetag;