summaryrefslogtreecommitdiff
path: root/ace/Parse_Node.cpp
diff options
context:
space:
mode:
authoriliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-09-25 14:50:35 +0000
committeriliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-09-25 14:50:35 +0000
commite8d586bcbfce0796c32729f8234a74ca44a5a5c4 (patch)
tree356d769b03b841385f42657ccfeada07ce730320 /ace/Parse_Node.cpp
parente63d4e617c903edc335ef8b246371e71f8d203f2 (diff)
downloadATCD-bug2612-ace.tar.gz
ChangeLogTag: Fri Sep 22 21:02:58 UTC 2006 Iliyan Jeliazkov <iliyan@ociweb.com>bug2612-ace
Diffstat (limited to 'ace/Parse_Node.cpp')
-rw-r--r--ace/Parse_Node.cpp29
1 files changed, 14 insertions, 15 deletions
diff --git a/ace/Parse_Node.cpp b/ace/Parse_Node.cpp
index c3b194499d4..f54d00957f3 100644
--- a/ace/Parse_Node.cpp
+++ b/ace/Parse_Node.cpp
@@ -783,19 +783,19 @@ ACE_Service_Type_Factory::make_service_type (ACE_Service_Gestalt *cfg) const
u_int flags = ACE_Service_Type::DELETE_THIS
| (this->location_->dispose () == 0 ? 0 : ACE_Service_Type::DELETE_OBJ);
+ int yyerrno = 0;
ACE_Service_Object_Exterminator gobbler = 0;
- int yyerrno = 0;
void *sym = this->location_->symbol (cfg, yyerrno, &gobbler);
if (sym != 0)
{
- ACE_Service_Type_Impl *stp
- = ACE_Service_Config::create_service_type_impl (this->name (),
- this->type_,
- sym,
- flags,
- gobbler);
+ ACE_Service_Type_Impl *stp =
+ ACE_Service_Config::create_service_type_impl (this->name (),
+ this->type_,
+ sym,
+ flags,
+ gobbler);
if (stp == 0)
++yyerrno;
@@ -808,16 +808,15 @@ ACE_Service_Type_Factory::make_service_type (ACE_Service_Gestalt *cfg) const
0);
return tmp;
}
- else
- {
+
#ifndef ACE_NLOGGING
- ACE_ERROR ((LM_ERROR,
- ACE_LIB_TEXT ("(%P|%t) Unable to find service \'%s\'\n"),
- this->name ()));
+ ACE_ERROR ((LM_ERROR,
+ ACE_LIB_TEXT ("(%P|%t) Unable to create ")
+ ACE_LIB_TEXT ("service object for %s\n"),
+ this->name ()));
#endif
- ++yyerrno;
- return 0;
- }
+ ++yyerrno;
+ return 0;
}
ACE_TCHAR const*