View Issue Details

IDProjectCategoryView StatusLast Update
0001950unrealircdpublic2004-07-13 18:34
Reporterrocafella Assigned Tocodemastr 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformWin32OSWindows 2003 Server 
Product Version3.2.1 
Summary0001950: Wrong lpServiceName in RegisterServiceCtrlHandler()
DescriptionWhen creating a service control handler with RegisterServiceCtrlHandler(), the lpServiceName should be the same as the one used in CreateService() to create the service (according to MSDN). However, CreateService() uses "UnrealIRCd" and RegisterServiceCtrlHandler() uses "unreal".
Additional InformationIRCDStatusHandle = RegisterServiceCtrlHandler("unreal", IRCDCtrlHandler);

Should Be:

IRCDStatusHandle = RegisterServiceCtrlHandler("UnrealIRCd", IRCDCtrlHandler);
TagsNo tags attached.
3rd party modules

Activities

rocafella

2004-07-11 23:28

reporter   ~0006996

I'm referring to "src/win32/service.c", forgot to mention it...

codemastr

2004-07-11 23:32

reporter   ~0006997

You would seem to be correct. Now what confuses me is the fact that it seems to work...

codemastr

2004-07-13 18:34

reporter   ~0007032

Fixed in .101

Issue History

Date Modified Username Field Change
2004-07-11 23:27 rocafella New Issue
2004-07-11 23:28 rocafella Note Added: 0006996
2004-07-11 23:32 codemastr Note Added: 0006997
2004-07-13 18:34 codemastr Status new => resolved
2004-07-13 18:34 codemastr Resolution open => fixed
2004-07-13 18:34 codemastr Assigned To => codemastr
2004-07-13 18:34 codemastr Note Added: 0007032