summaryrefslogtreecommitdiff
path: root/ACE/ace/NT_Service.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-10-03 19:38:24 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-10-03 19:38:24 +0000
commit7a96a0d98d9bc982ef3964a8bfd69913a3ca4373 (patch)
tree71bb43af2b5138b239bf793029785076922d9ac2 /ACE/ace/NT_Service.h
parent120546b69ce995607de011978e2b0ba51b073cda (diff)
downloadATCD-7a96a0d98d9bc982ef3964a8bfd69913a3ca4373.tar.gz
Wed Oct 3 19:31:15 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/ace/NT_Service.h')
-rw-r--r--ACE/ace/NT_Service.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/ace/NT_Service.h b/ACE/ace/NT_Service.h
index 4ad835badc7..7023a0df0b2 100644
--- a/ACE/ace/NT_Service.h
+++ b/ACE/ace/NT_Service.h
@@ -386,12 +386,12 @@ ACE_END_VERSIONED_NAMESPACE_DECL
} \
VOID WINAPI ace_nt_svc_main_##SVCNAME (DWORD dwArgc, \
ACE_TCHAR **lpszArgv) { \
- int delete_svc_obj = 0; \
+ bool delete_svc_obj = false; \
if (_ace_nt_svc_obj_##SVCNAME == 0) { \
ACE_NEW (_ace_nt_svc_obj_##SVCNAME, SVCCLASS); \
if (_ace_nt_svc_obj_##SVCNAME == 0) \
return; \
- delete_svc_obj = 1; \
+ delete_svc_obj = true; \
} \
else \
_ace_nt_svc_obj_##SVCNAME->inherit_log_msg_attributes (); \