added debug for saying when we notice stale calls.

This commit is contained in:
gardners 2012-05-06 20:15:46 +09:30
parent f93ec055ca
commit a42d8aafc0

1
vomp.c
View File

@ -1423,6 +1423,7 @@ int vomp_tick()
/* timeout calls that haven't reached INCALL status, e.g., /* timeout calls that haven't reached INCALL status, e.g.,
ringing. As well as sensible UX, it also prevents our call ringing. As well as sensible UX, it also prevents our call
slots getting full of cruft. */ slots getting full of cruft. */
WHYF("Destroying stale call");
vomp_call_destroy(&vomp_call_states[i]); vomp_call_destroy(&vomp_call_states[i]);
/* since this slot will get reclaimed, we need to wind back one in /* since this slot will get reclaimed, we need to wind back one in
the iteration of the list of slots */ the iteration of the list of slots */