]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Fri, 15 Apr 2011 00:12:31 +0000 (18:12 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Fri, 15 Apr 2011 00:12:31 +0000 (18:12 -0600)
src/auth/basic/User.cc
src/auth/basic/User.h
src/auth/digest/User.cc
src/auth/digest/User.h

index ee6173b6e5492250d556b739b848ca2c0cc407e8..1f08b04edeff83a245e9f3af68ae62b941baef62 100644 (file)
@@ -8,7 +8,7 @@ Auth::Basic::User::User(Auth::Config *aConfig) :
         Auth::User(aConfig),
         passwd(NULL),
         auth_queue(NULL),
-        currentRequest(NULL)   
+        currentRequest(NULL)
 {}
 
 Auth::Basic::User::~User()
index 82c6242724c7b43da0ab3aa10e7d737bbbbae966..b2882e93764d443a5a655abb85343a518554ce5a 100644 (file)
@@ -27,7 +27,7 @@ public:
     void submitRequest(AuthUserRequest::Pointer auth_user_request, RH * handler, void *data);
 
     bool valid() const;
-  
+
     /** Update the cached password for a username. */
     void updateCached(User *from);
     virtual int32_t ttl() const;
index abd5c10376a543f717fd1b77d2262f8b94c3ad1f..d7415b5118a78261a5155ad6659e1576650059b9 100644 (file)
@@ -37,12 +37,12 @@ Auth::Digest::User::ttl() const
         digest_nonce_h *nonce = static_cast<digest_nonce_h *>(link->data);
         if (nonce->flags.valid && nonce->noncedata.creationtime > latest_nonce)
             latest_nonce = nonce->noncedata.creationtime;
-            
+
         link = link->next;
     }
     if (latest_nonce == -1)
         return min(-1, global_ttl);
+
     int32_t nonce_ttl = latest_nonce - current_time.tv_sec + static_cast<Config*>(Auth::Config::Find("digest"))->noncemaxduration;
 
     return min(nonce_ttl, global_ttl);
index c7cc91660668afd562518180a5c09760b50c8677..2e86534d0ff6e56e15f5f863b70148124996ea72 100644 (file)
@@ -4,7 +4,7 @@
 #include "auth/User.h"
 
 namespace Auth
-{  
+{
 namespace Digest
 {
 
@@ -26,7 +26,7 @@ public:
     /* what nonces have been allocated to this user */
     dlink_list nonces;
 };
+
 MEMPROXY_CLASS_INLINE(Auth::Digest::User);
 
 } // namespace Digest