[cpp-sp] branch master updated: Fix return codes during failed module init.
Scott Cantor
cantor.2 at osu.edu
Wed May 30 13:25:45 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=25b043624b23a7b544ce8abc14aa79c24f96f4cb
The following commit(s) were added to refs/heads/master by this push:
new 25b0436 Fix return codes during failed module init.
25b0436 is described below
commit 25b043624b23a7b544ce8abc14aa79c24f96f4cb
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed May 30 13:25:40 2018 -0400
Fix return codes during failed module init.
---
iis7_shib/register.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/iis7_shib/register.cpp b/iis7_shib/register.cpp
index 016dae0..dc6de4d 100644
--- a/iis7_shib/register.cpp
+++ b/iis7_shib/register.cpp
@@ -119,7 +119,7 @@ RegisterModule(
g_Config->term();
g_Config=nullptr;
LogEvent(EVENTLOG_ERROR_TYPE, SHIB_NATIVE_STARTUP_FAILED_EXCEPTION, Priority::FATAL, ex.what());
- return FALSE;
+ return E_FAIL;
}
// Access implementation-specifics and site mappings.
@@ -153,7 +153,7 @@ RegisterModule(
locker.assign(); // pops lock on SP config
g_Config->term();
g_Config = nullptr;
- return FALSE;
+ return E_FAIL;
}
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list