summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorz3bra <contactatz3bradotorg>2016-11-22 08:13:20 +0100
committerz3bra <contactatz3bradotorg>2016-11-22 08:13:20 +0100
commitb53745979a6a8a944ddc31f3187e8fa0f40448a0 (patch)
tree2082fd2604cb5e2942acf1aa657bc1e9d163f654
parent3ecd420dd2e3a0267f8865f035c072122aee539d (diff)
Remove noisy logmsg() / Fix grammar
-rw-r--r--ratox.c7
1 files changed, 2 insertions, 5 deletions
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);
}
}