From 0fed2f78b9da02dac4b9b7f437ab531f95b36b2d Mon Sep 17 00:00:00 2001 From: Olle Johansson Date: Wed, 25 Oct 2006 11:41:49 +0000 Subject: [PATCH] Adding comments in the source is more persistent than just adding them to the commit message :-) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46184 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 817ff6a010..6e990fc1a4 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;