[shibboleth-sp2] 89/119: Missing header.
Ferenc Wágner
wferi-guest at moszumanska.debian.org
Tue Jan 26 21:29:53 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 1d275cb8a63d2b43094cd86a3512834adb64e62b
Author: Scott Cantor <cantor.2 at osu.edu>
Date: Mon Oct 22 01:44:25 2007 +0000
Missing header.
---
fastcgi/shibauthorizer.cpp | 3 ++-
fastcgi/shibresponder.cpp | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/fastcgi/shibauthorizer.cpp b/fastcgi/shibauthorizer.cpp
index e7e4b24..db811b4 100644
--- a/fastcgi/shibauthorizer.cpp
+++ b/fastcgi/shibauthorizer.cpp
@@ -23,6 +23,7 @@
#include <saml/saml.h>
#include <shib-target/shib-target.h>
+#include <stdexcept>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
@@ -57,7 +58,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.");
}
}
diff --git a/fastcgi/shibresponder.cpp b/fastcgi/shibresponder.cpp
index a03daff..d0ea558 100644
--- a/fastcgi/shibresponder.cpp
+++ b/fastcgi/shibresponder.cpp
@@ -23,6 +23,7 @@
#include <saml/saml.h>
#include <shib-target/shib-target.h>
+#include <stdexcept>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
--
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