From 15013d70861d652fd2aca4727373a2fe8ade3a0f Mon Sep 17 00:00:00 2001 From: Daniel O'Connor Date: Fri, 10 Aug 2012 10:45:01 +0930 Subject: [PATCH] Fix bug in debug printing. --- vomp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vomp.c b/vomp.c index e11a5b36..0cb43912 100644 --- a/vomp.c +++ b/vomp.c @@ -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");