diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2005-06-16 15:56:51 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2005-06-16 15:56:51 +0000 |
commit | 4819dcc34676a262569b02937d0961c5965c1f87 (patch) | |
tree | 5185ee8eacc2740d1922dd800d38ec2ce366f7b2 | |
parent | 5e2d008b641106dc3791fb508a84c87a2592045b (diff) | |
download | ATCD-4819dcc34676a262569b02937d0961c5965c1f87.tar.gz |
ChangeLogTag:Thu Jun 16 07:38:57 2005 Douglas C. Schmidt <schmidt@cs.wustl.edu>
-rw-r--r-- | ChangeLog | 13 | ||||
-rw-r--r-- | THANKS | 1 | ||||
-rw-r--r-- | ace/INET_Addr.cpp | 2 |
3 files changed, 15 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 6fdcc88c5ca..ad6b85e6f13 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +Thu Jun 16 07:38:57 2005 Douglas C. Schmidt <schmidt@cs.wustl.edu> + + * ace/INET_Addr.cpp (set): Changed the test of + + if (port_number < 0) + + to + + if (port_number == -1) + + to fix problems reported by Vemund Handeland + <vemund.handeland@fantoft.no> + Wed Jun 15 12:36:04 MST 2005 Trevor Fields <fields_t@ociweb.com> * bin/PerlACE/Run_Test.pm: @@ -1989,6 +1989,7 @@ Will Chai <willchai at 126 dot com> Paul Koch <paul dot koch at mci dot com> Dave Giovannini <giovanninid at ociweb dot com> + I would particularly like to thank Paul Stephenson, who worked with me at Ericsson in the early 1990's. Paul devised the recursive Makefile scheme that underlies this distribution and also spent countless hours diff --git a/ace/INET_Addr.cpp b/ace/INET_Addr.cpp index f6792da0712..ac31c2ad7c4 100644 --- a/ace/INET_Addr.cpp +++ b/ace/INET_Addr.cpp @@ -406,7 +406,7 @@ ACE_INET_Addr::set (const char port_name[], ACE_TRACE ("ACE_INET_Addr::set"); int port_number = get_port_number_from_name (port_name, protocol); - if (port_number < 0) + if (port_number == -1) { ACE_UNUSED_ARG (inet_address); ACE_NOTSUP_RETURN (-1); |