Fix "little crash" in inuse handling (bug #3792)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
860eb98007
commit
0d63eccb11
|
@ -1767,7 +1767,7 @@ static int update_user_counter(struct sip_pvt *fup, int event)
|
|||
return -1;
|
||||
}
|
||||
}
|
||||
u->inUse++;
|
||||
(*inuse)++;
|
||||
ast_log(LOG_DEBUG, "Call from %s '%s' is %d out of %d\n", u?"user":"peer", name, *inuse, *incominglimit);
|
||||
break;
|
||||
#ifdef DISABLED_CODE
|
||||
|
|
Loading…
Reference in New Issue