Fix bug in debug printing.

This commit is contained in:
Daniel O'Connor 2012-08-10 10:45:01 +09:30
parent 39325e0262
commit 15013d7086

2
vomp.c
View File

@ -700,7 +700,7 @@ int vomp_dial(unsigned char *local_sid, unsigned char *remote_sid, char *local_d
int vomp_pickup(struct vomp_call_state *call)
{
if (call){
if (debug && DEBUG_VOMP)
if (debug & DEBUG_VOMP)
DEBUG("Picking up");
if (call->local.state!=VOMP_STATE_RINGINGIN)
return WHY("Call is not ringing");