[cpp-sp] 01/03: Fix an error path.
Scott Cantor
cantor.2 at osu.edu
Mon Oct 27 18:41:35 UTC 2025
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository cpp-sp.
View the commit online:
https://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=f2e7d7bab9a400c467b2e2afced27492a297efd8
commit f2e7d7bab9a400c467b2e2afced27492a297efd8
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Oct 27 14:39:56 2025 -0400
Fix an error path.
---
shibsp/util/Misc.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shibsp/util/Misc.cpp b/shibsp/util/Misc.cpp
index 9d605e72..c863f4b2 100644
--- a/shibsp/util/Misc.cpp
+++ b/shibsp/util/Misc.cpp
@@ -104,7 +104,7 @@ time_t shibsp::parseISODuration(const string& s)
vec[i-1] = boost::lexical_cast<long>(str);
}
catch (const boost::bad_lexical_cast&) {
- return 0;
+ return -1;
}
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list