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:
af47f4a
)
Fix get_rdnis typo
author
Mark Spencer
<markster@digium.com>
Tue, 13 May 2003 00:17:14 +0000
(
00:17
+0000)
committer
Mark Spencer
<markster@digium.com>
Tue, 13 May 2003 00:17:14 +0000
(
00:17
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1009
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
cee0326
..
1786e0a
100755
(executable)
--- a/
channels/chan_sip.c
+++ b/
channels/chan_sip.c
@@
-3058,7
+3058,7
@@
static int get_rdnis(struct sip_pvt *p, struct sip_request *oreq)
req = oreq;
if (!req)
req = &p->initreq;
- strncpy(tmp, get_header(oreq, "Diversion"), sizeof(tmp) - 1);
+ strncpy(tmp, get_header(req, "Diversion"), sizeof(tmp) - 1);
if (!strlen(tmp))
return 0;
c = ditch_braces(tmp);