aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-25 11:41:49 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-25 11:41:49 +0000
commit82f7dd93c47d428554e3c24fbfdb193545dc3617 (patch)
tree9662a0ca660267914e578d6fc36943e823d0de5b /channels
parentb260a2fbf080d01b34770654573470e3531c55fb (diff)
Adding comments in the source is more persistent than just adding them
to the commit message :-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46184 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 817ff6a01..6e990fc1a 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -4028,7 +4028,9 @@ static const char *__get_header(const struct sip_request *req, const char *name,
return "";
}
-/*! \brief Get header from SIP request */
+/*! \brief Get header from SIP request
+ \return Always return something, so don't check for NULL because it won't happen :-)
+*/
static const char *get_header(const struct sip_request *req, const char *name)
{
int start = 0;