summaryrefslogtreecommitdiff
path: root/examples/QOS/Change_Receiver_FlowSpec/QoS_Util.cpp
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-09-16 21:19:02 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-09-16 21:19:02 +0000
commit40fdc8a404e75ab03b68cc62e9987cf208fd8c30 (patch)
tree37d9c4d3abe4aefd8a34ed797883dd2cd4862ca7 /examples/QOS/Change_Receiver_FlowSpec/QoS_Util.cpp
parentc254b281f1b9a4ca19dd0c3ee73a0654a7718909 (diff)
downloadATCD-40fdc8a404e75ab03b68cc62e9987cf208fd8c30.tar.gz
This commit was manufactured by cvs2svn to create branchtypecode-overhaul
'typecode-overhaul'.
Diffstat (limited to 'examples/QOS/Change_Receiver_FlowSpec/QoS_Util.cpp')
-rw-r--r--examples/QOS/Change_Receiver_FlowSpec/QoS_Util.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/QOS/Change_Receiver_FlowSpec/QoS_Util.cpp b/examples/QOS/Change_Receiver_FlowSpec/QoS_Util.cpp
index 0ef3b353248..4005b40a25a 100644
--- a/examples/QOS/Change_Receiver_FlowSpec/QoS_Util.cpp
+++ b/examples/QOS/Change_Receiver_FlowSpec/QoS_Util.cpp
@@ -12,7 +12,7 @@ ACE_RCSID(QOS, QoS_Util,"$Id$")
// constructor.
QoS_Util::QoS_Util (int argc,
- ACE_TCHAR *argv[])
+ char *argv[])
: argc_ (argc),
argv_ (argv),
source_port_ (SENDER_PORT),
@@ -36,7 +36,7 @@ QoS_Util::~QoS_Util (void)
int
QoS_Util::parse_args (void)
{
- ACE_Get_Opt get_opts (this->argc_, this->argv_, ACE_TEXT("m:n:p:P:c"));
+ ACE_Get_Opt get_opts (this->argc_, this->argv_, "m:n:p:P:c");
int c = 0;
while ((c = get_opts ()) != -1)
@@ -50,10 +50,10 @@ QoS_Util::parse_args (void)
this->dest_addr_->set (get_opts.opt_arg ());
break;
case 'p': // protocol.
- if (ACE_OS::strcasecmp (get_opts.opt_arg (), ACE_TEXT("tcp")) == 0)
+ if (ACE_OS::strcasecmp (get_opts.opt_arg (), "tcp") == 0)
this->protocol_ = IPPROTO_TCP;
else
- if (ACE_OS::strcasecmp (get_opts.opt_arg (), ACE_TEXT("udp")) == 0)
+ if (ACE_OS::strcasecmp (get_opts.opt_arg (), "udp") == 0)
this->protocol_ = IPPROTO_UDP;
else
ACE_DEBUG ((LM_DEBUG,