diff options
author | David Troy <dave@popvox.com> | 2006-04-04 22:33:15 +0000 |
---|---|---|
committer | David Troy <dave@popvox.com> | 2006-04-04 22:33:15 +0000 |
commit | 08a84749d9c92829d580c508f3b0256f7b188321 (patch) | |
tree | d5261e175542cabcd8156c68c27e0aad7409b1f1 /src/astmanproxy.c | |
parent | d9e53b2987116fa0d335428eabb5c0d35ba11017 (diff) | |
download | astmanproxy-08a84749d9c92829d580c508f3b0256f7b188321.tar.gz astmanproxy-08a84749d9c92829d580c508f3b0256f7b188321.tar.xz astmanproxy-08a84749d9c92829d580c508f3b0256f7b188321.zip |
git-svn-id: http://svncommunity.digium.com/svn/astmanproxy/branches/1.20pre@83 f02b47b9-160a-0410-81a6-dc3441afb0ec
Diffstat (limited to 'src/astmanproxy.c')
-rw-r--r-- | src/astmanproxy.c | 5 |
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; } |