mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-20 05:37:57 +00:00
Fix bug in debug printing.
This commit is contained in:
parent
39325e0262
commit
15013d7086
2
vomp.c
2
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)
|
int vomp_pickup(struct vomp_call_state *call)
|
||||||
{
|
{
|
||||||
if (call){
|
if (call){
|
||||||
if (debug && DEBUG_VOMP)
|
if (debug & DEBUG_VOMP)
|
||||||
DEBUG("Picking up");
|
DEBUG("Picking up");
|
||||||
if (call->local.state!=VOMP_STATE_RINGINGIN)
|
if (call->local.state!=VOMP_STATE_RINGINGIN)
|
||||||
return WHY("Call is not ringing");
|
return WHY("Call is not ringing");
|
||||||
|
Loading…
Reference in New Issue
Block a user