mirror of
https://github.com/asterisk/asterisk.git
synced 2026-06-05 13:55:30 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user