[shibboleth-sp2] 90/119: Switch exception class, seems to fail on some gcc versions.

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


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

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

commit 95d70673bd46f24d07c53794ace3775e680fb396
Author: Scott Cantor <cantor.2 at osu.edu>
Date:   Mon Oct 22 01:45:49 2007 +0000

    Switch exception class, seems to fail on some gcc versions.
---
 fastcgi/shibresponder.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fastcgi/shibresponder.cpp b/fastcgi/shibresponder.cpp
index d0ea558..86c374c 100644
--- a/fastcgi/shibresponder.cpp
+++ b/fastcgi/shibresponder.cpp
@@ -61,7 +61,7 @@ public:
             server_port = strtol(server_port_str, &server_port_str, 10);
             if (*server_port_str) {
                 cerr << "can't parse SERVER_PORT (" << FCGX_GetParam("SERVER_PORT", req->envp) << ")" << endl;
-                throw exception("Unable to determine server port.");
+                throw runtime_error("Unable to determine server port.");
             }
         }
 

-- 
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