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:
Mark Spencer 2005-03-19 22:42:29 +00:00
parent 860eb98007
commit 0d63eccb11
1 changed files with 1 additions and 1 deletions

View File

@ -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