Adding comments in the source is more persistent than just adding them
authorOlle Johansson <oej@edvina.net>
Wed, 25 Oct 2006 11:41:49 +0000 (11:41 +0000)
committerOlle Johansson <oej@edvina.net>
Wed, 25 Oct 2006 11:41:49 +0000 (11:41 +0000)
to the commit message :-)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46184 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 817ff6a..6e990fc 100644 (file)
@@ -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;