Merged revisions 52210 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r52210 | file | 2007-01-25 12:49:39 -0500 (Thu, 25 Jan 2007) | 2 lines Drop out variables I accidentally put in. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52211 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
afb9151e19
commit
b8d6cbcd3f
1 changed files with 1 additions and 2 deletions
|
@ -3119,7 +3119,7 @@ static void __sip_destroy(struct sip_pvt *p, int lockowner, int lockdialoglist)
|
|||
static int update_call_counter(struct sip_pvt *fup, int event)
|
||||
{
|
||||
char name[256];
|
||||
int *inuse = NULL, *call_limit = NULL, *inringing = NULL, *onhold = NULL;
|
||||
int *inuse = NULL, *call_limit = NULL, *inringing = NULL;
|
||||
int outgoing = ast_test_flag(&fup->flags[0], SIP_OUTGOING);
|
||||
struct sip_user *u = NULL;
|
||||
struct sip_peer *p = NULL;
|
||||
|
@ -3142,7 +3142,6 @@ static int update_call_counter(struct sip_pvt *fup, int event)
|
|||
inuse = &p->inUse;
|
||||
call_limit = &p->call_limit;
|
||||
inringing = &p->inRinging;
|
||||
onhold = &p->onHold;
|
||||
ast_copy_string(name, fup->peername, sizeof(name));
|
||||
}
|
||||
if (!p && !u) {
|
||||
|
|
Loading…
Reference in a new issue