summaryrefslogtreecommitdiff
path: root/src/anyrtpproxy/options.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-11-25 16:58:46 +0000
committerChristian Pointner <equinox@anytun.org>2008-11-25 16:58:46 +0000
commit0020c166f8c4aba4c3d64803009e764d7a8473c7 (patch)
treefd25edd86341b1c88038557b3b96363c926dc6bf /src/anyrtpproxy/options.cpp
parentanyrtpproxy: commandhanlder uses now boost::asio and boost::thread (diff)
anyrtpproxy ported to boost threads and boost asio still some work
Diffstat (limited to 'src/anyrtpproxy/options.cpp')
-rw-r--r--src/anyrtpproxy/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/anyrtpproxy/options.cpp b/src/anyrtpproxy/options.cpp
index e3f3850..fa0879e 100644
--- a/src/anyrtpproxy/options.cpp
+++ b/src/anyrtpproxy/options.cpp
@@ -191,7 +191,7 @@ bool Options::parse(int argc, char* argv[])
bool Options::sanityCheck()
{
- if(!control_interface_.port_) control_interface_.port_ = 22222;
+ if(control_interface_.port_ == "") control_interface_.port_ = "22222";
return true;
}