[cpp-sp] branch main updated: Fix parameter bug when tetting system information
Rod Widdowson
rdw at steadingsoftware.com
Thu Jan 30 11:28:50 UTC 2025
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch main
in repository cpp-sp.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=e86fad2e6d5d28d598be37e8284c92fb3d2aa920
The following commit(s) were added to refs/heads/main by this push:
new e86fad2e Fix parameter bug when tetting system information
e86fad2e is described below
commit e86fad2e6d5d28d598be37e8284c92fb3d2aa920
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Thu Jan 30 11:28:15 2025 +0000
Fix parameter bug when tetting system information
---
shibsp/handler/impl/StatusHandler.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/shibsp/handler/impl/StatusHandler.cpp b/shibsp/handler/impl/StatusHandler.cpp
index 3f692029..6ad2d73d 100644
--- a/shibsp/handler/impl/StatusHandler.cpp
+++ b/shibsp/handler/impl/StatusHandler.cpp
@@ -295,7 +295,7 @@ ostream& StatusHandler::systemInfo(ostream& os) const
#elif defined(WIN32)
OSVERSIONINFOEXA osvi;
memset(&osvi, 0, sizeof(OSVERSIONINFOEXA));
- osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEX);
+ osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEXA);
if(GetVersionExA((LPOSVERSIONINFOA)&osvi)) {
os << "<Windows"
@@ -339,7 +339,7 @@ ostream& StatusHandler::systemInfo(ostream& os) const
os << "/>";
}
else {
- os << "<Windows/>";
+ os << "<Windows/>";
}
#endif
return os;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list