From: Olle Johansson Date: Wed, 25 Oct 2006 11:41:49 +0000 (+0000) Subject: Adding comments in the source is more persistent than just adding them X-Git-Tag: 1.6.0-beta1~3^2~4284 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fed2f78b9da02dac4b9b7f437ab531f95b36b2d;p=thirdparty%2Fasterisk.git 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 --- 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;