projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2560ff9
)
Adding comments in the source is more persistent than just adding them
author
Olle Johansson
<oej@edvina.net>
Wed, 25 Oct 2006 11:41:49 +0000
(11:41 +0000)
committer
Olle 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
patch
|
blob
|
history
diff --git
a/channels/chan_sip.c
b/channels/chan_sip.c
index
817ff6a
..
6e990fc
100644
(file)
--- 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;