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:
bd27085
)
This fixes SIP subscriptions in trunk.
author
Russell Bryant
<russell@russellbryant.com>
Tue, 16 Oct 2007 20:32:16 +0000
(20:32 +0000)
committer
Russell Bryant
<russell@russellbryant.com>
Tue, 16 Oct 2007 20:32:16 +0000
(20:32 +0000)
Don't improperly memset() over an ast_str. This was leftover from before it
got changed to use ast_str.
(closes issue #11003, reported by pj)
(closes issue #10770, reported by yehavi)
(patched by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85944
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
7546f0b
..
93a7146
100644
(file)
--- a/
channels/chan_sip.c
+++ b/
channels/chan_sip.c
@@
-7815,7
+7815,6
@@
static int transmit_state_notify(struct sip_pvt *p, int state, int full, int tim
memset(from, 0, sizeof(from));
memset(to, 0, sizeof(to));
- memset(tmp, 0, sizeof(tmp));
switch (state) {
case (AST_EXTENSION_RINGING | AST_EXTENSION_INUSE):