From 92efa896ace2c1ef6e1a356ba7d2e38294583f7e Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 18 Mar 2008 19:49:38 +0000 Subject: anyrtpproxy bugfix --- anyrtpproxy/anyrtpproxy.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'anyrtpproxy/anyrtpproxy.cpp') diff --git a/anyrtpproxy/anyrtpproxy.cpp b/anyrtpproxy/anyrtpproxy.cpp index 9501dfc..ac2670a 100644 --- a/anyrtpproxy/anyrtpproxy.cpp +++ b/anyrtpproxy/anyrtpproxy.cpp @@ -124,13 +124,10 @@ void* listener(void* p) } if(param->dir_ == 1) - { param->sock2_.sendTo(buf.getBuf(), buf.getLength(), session.getRemoteAddr2(), session.getRemotePort2()); - } else if(param->dir_ == 2) - { param->sock1_.sendTo(buf.getBuf(), buf.getLength(), session.getRemoteAddr1(), session.getRemotePort1()); - } + else break; } } catch(std::exception &e) -- cgit v1.2.3