summaryrefslogtreecommitdiff
path: root/src/anyrtpproxy/options.cpp
diff options
context:
space:
mode:
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;
}