Make sure reversecharge is initialized.

git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@1006 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Richard Mudgett 2009-08-24 22:09:38 +00:00
parent 69fecfd30a
commit d32e70d473

1
q931.c
View File

@ -2954,6 +2954,7 @@ static q931_call *q931_getcall(struct pri *ctrl, int cr)
cur->useruserprotocoldisc = -1;
cur->aoc_units = -1;
cur->changestatus = -1;
cur->reversecharge = -1;
q931_party_number_init(&cur->redirection_number);
q931_party_address_init(&cur->called);
q931_party_id_init(&cur->local_id);