[shibboleth-sp2] 11/29: Correct MAX limit constant.

Ferenc Wágner wferi-guest at moszumanska.debian.org
Tue Jan 26 21:30:26 UTC 2016


This is an automated email from the git hooks/post-receive script.

wferi-guest pushed a commit to annotated tag 2.4.3
in repository shibboleth-sp2.

commit 82d0f94af88415a9b96fb875aac24d0854014c09
Author: Scott Cantor <cantor.2 at osu.edu>
Date:   Sat Jun 11 02:51:16 2011 +0000

    Correct MAX limit constant.
---
 shibsp/SPConfig.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shibsp/SPConfig.cpp b/shibsp/SPConfig.cpp
index 9d19d0c..faef611 100644
--- a/shibsp/SPConfig.cpp
+++ b/shibsp/SPConfig.cpp
@@ -450,7 +450,7 @@ bool SPInternalConfig::init(const char* catalog_path, const char* inst_prefix)
 
     Lock initLock(m_lock);
 
-    if (m_initCount == LONG_MAX) {
+    if (m_initCount == INT_MAX) {
         Category::getInstance(SHIBSP_LOGCAT".Config").crit("library initialized too many times");
         return false;
     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/shibboleth-sp2.git



More information about the Pkg-shibboleth-devel mailing list