summaryrefslogtreecommitdiff
path: root/ACE/ace/Service_Gestalt.cpp
diff options
context:
space:
mode:
authoriliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-02-22 18:55:20 +0000
committeriliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-02-22 18:55:20 +0000
commite6053c03900cda9e2abfa92df4b8cd80229739a5 (patch)
tree6b3fdca23d1765323cba09896fe9af08fce0d6cb /ACE/ace/Service_Gestalt.cpp
parentbae4c18601a6d27f48fb845dc44d71cb51d3f16f (diff)
downloadATCD-e6053c03900cda9e2abfa92df4b8cd80229739a5.tar.gz
ChangeLogTag: Thu Feb 22 18:37:00 UTC 2007 Iliyan Jeliazkov <iliyan@ociweb.com>
Diffstat (limited to 'ACE/ace/Service_Gestalt.cpp')
-rw-r--r--ACE/ace/Service_Gestalt.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ACE/ace/Service_Gestalt.cpp b/ACE/ace/Service_Gestalt.cpp
index 8b6eeb9fc97..ff3ea6f8289 100644
--- a/ACE/ace/Service_Gestalt.cpp
+++ b/ACE/ace/Service_Gestalt.cpp
@@ -1298,8 +1298,7 @@ ACE_Service_Gestalt::close (void)
{
ACE_TRACE ("ACE_Service_Gestalt::close");
- this->is_opened_--;
- if (this->is_opened_ > 0)
+ if (!this->is_opened_ || --this->is_opened_ != 0)
return 0;
// Delete the list fo svc.conf files