[cpp-opensaml] 03/04: Untabify

Scott Cantor cantor.2 at osu.edu
Sun Nov 12 16:07:56 EST 2017


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

scantor pushed a commit to branch maint-2
in repository cpp-opensaml.

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

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