[asterisk-commits] oej: trunk r46184 - /trunk/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Oct 25 04:41:49 MST 2006


Author: oej
Date: Wed Oct 25 06:41:49 2006
New Revision: 46184

URL: http://svn.digium.com/view/asterisk?rev=46184&view=rev
Log:
Adding comments in the source is more persistent than just adding them
to the commit message :-)

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=46184&r1=46183&r2=46184&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Wed Oct 25 06:41:49 2006
@@ -4028,7 +4028,9 @@
 	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;



More information about the asterisk-commits mailing list