[cpp-sp] branch master updated: Renumber native module messages from 300.
Scott Cantor
cantor.2 at osu.edu
Wed May 30 12:20:02 EDT 2018
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository cpp-sp.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=178557f2826f123f30ad1cc13c0a1902ecc67d4f
The following commit(s) were added to refs/heads/master by this push:
new 178557f Renumber native module messages from 300.
178557f is described below
commit 178557f2826f123f30ad1cc13c0a1902ecc67d4f
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed May 30 12:19:54 2018 -0400
Renumber native module messages from 300.
---
iis7_shib/register.cpp | 2 +-
util/message.mc | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/iis7_shib/register.cpp b/iis7_shib/register.cpp
index be2729c..016dae0 100644
--- a/iis7_shib/register.cpp
+++ b/iis7_shib/register.cpp
@@ -213,7 +213,7 @@ BOOL LogEvent(
LPCSTR message)
{
LPCSTR messages[] ={ message, nullptr };
- DWORD gle = GetLastError();
+ DWORD gle = ::GetLastError();
HANDLE hElog = ::RegisterEventSource(nullptr, SHIBSP_EVENTLOGSOURCE);
BOOL res = ::ReportEvent(hElog, wType, (priority / 100) + 1, dwEventID, nullptr, 1, sizeof(DWORD), messages, &gle);
diff --git a/util/message.mc b/util/message.mc
index 201d69d..1261fc1 100644
--- a/util/message.mc
+++ b/util/message.mc
@@ -168,7 +168,8 @@ Language=Neutral
Shibboleth ISAPI filter: Caught an Unknown Exception.
.
-MessageId=
+
+MessageId=300
Severity=Warning
Facility=ShibbolethNative
SymbolicName=SHIB_NATIVE_REENTRANT_INIT
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list