[cpp-opensaml] branch master updated: Untabify

Rod Widdowson rdw at steadingsoftware.com
Fri Oct 6 10:14:25 EDT 2017


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

rdw pushed a commit to branch master
in repository cpp-opensaml.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-opensaml.git;a=commit;h=f548e0f43a3721d5716c33f5972a23477051279e

The following commit(s) were added to refs/heads/master by this push:
       new  f548e0f   Untabify
f548e0f is described below

commit f548e0f43a3721d5716c33f5972a23477051279e
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Fri Oct 6 15:14:12 2017 +0100

    Untabify
---
 saml/saml2/metadata/impl/DynamicMetadataProvider.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/saml/saml2/metadata/impl/DynamicMetadataProvider.cpp b/saml/saml2/metadata/impl/DynamicMetadataProvider.cpp
index 7ca8d6e..05eb77f 100644
--- a/saml/saml2/metadata/impl/DynamicMetadataProvider.cpp
+++ b/saml/saml2/metadata/impl/DynamicMetadataProvider.cpp
@@ -306,9 +306,9 @@ pair<const EntityDescriptor*,const RoleDescriptor*> DynamicMetadataProvider::get
         doFilters(*entity2);
 
         time_t now = time(nullptr);
-	time_t cmp = now;
-	if (cmp < (std::numeric_limits<int>::max() - 60))
-	    cmp += 60;
+        time_t cmp = now;
+        if (cmp < (std::numeric_limits<int>::max() - 60))
+            cmp += 60;
         if (entity2->getValidUntil() && entity2->getValidUntilEpoch() < cmp)
             throw MetadataException("Metadata was already invalid at the time of retrieval.");
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list