From 08a84749d9c92829d580c508f3b0256f7b188321 Mon Sep 17 00:00:00 2001 From: David Troy Date: Tue, 4 Apr 2006 22:33:15 +0000 Subject: git-svn-id: http://svncommunity.digium.com/svn/astmanproxy/branches/1.20pre@83 f02b47b9-160a-0410-81a6-dc3441afb0ec --- src/astmanproxy.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/astmanproxy.c') 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; } -- cgit