summaryrefslogtreecommitdiff
path: root/ace/INET_Addr.cpp
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2003-06-12 20:32:20 +0000
committerbala <balanatarajan@users.noreply.github.com>2003-06-12 20:32:20 +0000
commitf53d338d60f1f8d4b151fcd332fdd1e96b08a2ff (patch)
treea3f66eebabd87520a1d24dbe15c9cea96659e9ce /ace/INET_Addr.cpp
parenta7923d70e6e68fc57702403898e7812b1313f58a (diff)
downloadATCD-f53d338d60f1f8d4b151fcd332fdd1e96b08a2ff.tar.gz
ChangeLogTag:Thu Jun 12 15:20:37 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
Diffstat (limited to 'ace/INET_Addr.cpp')
-rw-r--r--ace/INET_Addr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/INET_Addr.cpp b/ace/INET_Addr.cpp
index a95818359d7..d29cb18bb75 100644
--- a/ace/INET_Addr.cpp
+++ b/ace/INET_Addr.cpp
@@ -325,7 +325,7 @@ static int get_port_number_from_name (const char port_name[],
// We try to resolve port number from its name.
#if defined (VXWORKS) || defined (CHORUS) || defined (ACE_LACKS_GETSERVBYNAME)
- port_number = -1;
+ port_number = 0;
ACE_UNUSED_ARG (port_name);
ACE_UNUSED_ARG (protocol);
#else