diff options
author | Bernard Normier <bernard@zeroc.com> | 2017-04-29 00:34:56 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2017-04-29 00:34:56 -0400 |
commit | b019ed93425eefbc1a5255f65a03214b8decb0f3 (patch) | |
tree | 736b0c08589c816336cb7f381e512e3db7e598bd /cpp | |
parent | Fixed typo (diff) | |
download | ice-b019ed93425eefbc1a5255f65a03214b8decb0f3.tar.bz2 ice-b019ed93425eefbc1a5255f65a03214b8decb0f3.tar.xz ice-b019ed93425eefbc1a5255f65a03214b8decb0f3.zip |
Small cleanup
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/Ice/Service.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/Ice/Service.cpp b/cpp/src/Ice/Service.cpp index 584deb5d79a..278b9831191 100644 --- a/cpp/src/Ice/Service.cpp +++ b/cpp/src/Ice/Service.cpp @@ -1249,7 +1249,7 @@ Ice::Service::serviceMain(int argc, const wchar_t* const argv[]) // Register the control handler function. // _statusHandle = RegisterServiceCtrlHandlerW(argv[0], Ice_Service_CtrlHandler); - if(_statusHandle == (SERVICE_STATUS_HANDLE)0) + if(_statusHandle == 0) { syserror("unable to register service control handler"); return; @@ -1265,10 +1265,10 @@ Ice::Service::serviceMain(int argc, const wchar_t* const argv[]) serviceStatusManager->startUpdate(SERVICE_START_PENDING); // - // Don't need to pass a wide string converter in the bellow argv conversions + // Don't need to pass a wide string converter in the argv conversions // as argv come from Windows API. // - const IceUtil::StringConverterPtr converter(IceUtil::getProcessStringConverter()); + const IceUtil::StringConverterPtr converter = IceUtil::getProcessStringConverter(); // // Merge the executable's arguments with the service's arguments. |