commit b53745979a6a8a944ddc31f3187e8fa0f40448a0
parent 3ecd420dd2e3a0267f8865f035c072122aee539d
Author: z3bra <contactatz3bradotorg>
Date: Tue, 22 Nov 2016 08:13:20 +0100
Remove noisy logmsg() / Fix grammar
Diffstat:
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git 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);
}
}