diff options
| author | David Boreham <dboreham@redhat.com> | 2005-04-01 15:42:02 +0000 |
|---|---|---|
| committer | David Boreham <dboreham@redhat.com> | 2005-04-01 15:42:02 +0000 |
| commit | bd1ac5b3067e8cec6ed13200fd3c3d6831d5cc67 (patch) | |
| tree | bf9e19c76dbf7657c207817e960bfd6e7f1a4043 /ldap/synctools/passwordsync/passsync/ntservice.cpp | |
| parent | 267887994cd3b33251bc93f7d4992c0528116fa7 (diff) | |
| download | ds-bd1ac5b3067e8cec6ed13200fd3c3d6831d5cc67.tar.gz ds-bd1ac5b3067e8cec6ed13200fd3c3d6831d5cc67.tar.xz ds-bd1ac5b3067e8cec6ed13200fd3c3d6831d5cc67.zip | |
Merge password sync code from Bozeman Pass
Diffstat (limited to 'ldap/synctools/passwordsync/passsync/ntservice.cpp')
| -rw-r--r-- | ldap/synctools/passwordsync/passsync/ntservice.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/ldap/synctools/passwordsync/passsync/ntservice.cpp b/ldap/synctools/passwordsync/passsync/ntservice.cpp index 2da478de..576521e2 100644 --- a/ldap/synctools/passwordsync/passsync/ntservice.cpp +++ b/ldap/synctools/passwordsync/passsync/ntservice.cpp @@ -1,9 +1,11 @@ -/* --- BEGIN COPYRIGHT BLOCK --- +/*********************************************************************** +** +/** BEGIN COPYRIGHT BLOCK + * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. - * --- END COPYRIGHT BLOCK --- */ - -/*********************************************************************** + * END COPYRIGHT BLOCK **/ +/* ** ** NAME ** NTService.cpp @@ -290,8 +292,8 @@ void CNTService::LogEvent(WORD wType, DWORD dwID, // Modification: 2-8-2005 // m_hEventSource = ::RegisterEventSourceW(NULL, // local machine // GetEventName()); // source name - m_hEventSource = ::RegisterEventSourceW(NULL, // local machine - (const unsigned short *)GetEventName()); // source name + m_hEventSource = ::RegisterEventSource(NULL, // local machine + GetEventName()); // source name // End Change } |
