summaryrefslogtreecommitdiffstats
path: root/ldap/synctools/passwordsync/passsync/ntservice.cpp
diff options
context:
space:
mode:
authorDavid Boreham <dboreham@redhat.com>2005-04-01 15:42:02 +0000
committerDavid Boreham <dboreham@redhat.com>2005-04-01 15:42:02 +0000
commitbd1ac5b3067e8cec6ed13200fd3c3d6831d5cc67 (patch)
treebf9e19c76dbf7657c207817e960bfd6e7f1a4043 /ldap/synctools/passwordsync/passsync/ntservice.cpp
parent267887994cd3b33251bc93f7d4992c0528116fa7 (diff)
downloadds-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.cpp14
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
}