summaryrefslogtreecommitdiffstats
path: root/src/astmanproxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/astmanproxy.c')
-rw-r--r--src/astmanproxy.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/astmanproxy.c b/src/astmanproxy.c
index 9481610..dbbb05c 100644
--- a/src/astmanproxy.c
+++ b/src/astmanproxy.c
@@ -344,8 +344,6 @@ void *HandleAsterisk(struct mansession *s)
if (!WriteClients(&m))
break;
- /* TODO: does it make any sense to abort * conn if we cannot write to clients? I don't think so.
- Do we even get a return code back that means anything? I don't think so. */
} else if (res < 0) {
if (debug)
debugmsg("asterisk@%s: Not connected", ast_inet_ntoa(iabuf, sizeof(iabuf), s->sin.sin_addr));
@@ -490,14 +488,13 @@ int SetIOHandlers(struct mansession *s, char *ifmt, char *ofmt)
io = io->next;
}
+ /* set default handlers if non match was found */
if (!s->output) {
- /* TODO: Output debug that default/first handler was used */
s->output = iohandlers;
res = 1;
}
if (!s->input) {
- /* TODO: Output debug that default/first handler was used */
s->input = iohandlers;
res = 1;
}