From b53745979a6a8a944ddc31f3187e8fa0f40448a0 Mon Sep 17 00:00:00 2001 From: z3bra Date: Tue, 22 Nov 2016 08:13:20 +0100 Subject: Remove noisy logmsg() / Fix grammar --- ratox.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'ratox.c') diff --git a/ratox.c b/ratox.c index a3166fb..c0ebf2a 100644 --- a/ratox.c +++ b/ratox.c @@ -406,10 +406,8 @@ cbcallstate(ToxAV *av, uint32_t fnum, uint32_t state, void *udata) } /* let us start sending audio */ - if (state & TOXAV_FRIEND_CALL_STATE_ACCEPTING_A) { + if (state & TOXAV_FRIEND_CALL_STATE_ACCEPTING_A) f->av.state |= OUTGOING; - logmsg(": %s : Audio > Started\n", f->name); - } } static void @@ -1681,7 +1679,7 @@ loop(void) if (f->av.state & TRANSMITTING) { if (!(f->av.state & INCOMING) && !(f->av.state & OUTGOING)) - cancelcall(f, "Hanged up"); + cancelcall(f, "Hung up"); } if (f->av.state & RINGING) { if (!(f->av.state & INCOMING)) @@ -1694,7 +1692,6 @@ loop(void) } f->av.state &= ~RINGING; f->av.state |= TRANSMITTING; - logmsg(": %s : Audio > Answered\n", f->name); } } -- cgit v1.2.3