From de76457ee897ea6b24fecbbcea3cc196ddd9ae7d Mon Sep 17 00:00:00 2001 From: Automatic source maintenance Date: Thu, 14 Apr 2011 18:12:31 -0600 Subject: [PATCH] SourceFormat Enforcement --- src/auth/basic/User.cc | 2 +- src/auth/basic/User.h | 2 +- src/auth/digest/User.cc | 4 ++-- src/auth/digest/User.h | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/auth/basic/User.cc b/src/auth/basic/User.cc index ee6173b6e5..1f08b04ede 100644 --- a/src/auth/basic/User.cc +++ b/src/auth/basic/User.cc @@ -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() diff --git a/src/auth/basic/User.h b/src/auth/basic/User.h index 82c6242724..b2882e9376 100644 --- a/src/auth/basic/User.h +++ b/src/auth/basic/User.h @@ -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; diff --git a/src/auth/digest/User.cc b/src/auth/digest/User.cc index abd5c10376..d7415b5118 100644 --- a/src/auth/digest/User.cc +++ b/src/auth/digest/User.cc @@ -37,12 +37,12 @@ Auth::Digest::User::ttl() const digest_nonce_h *nonce = static_cast(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(Auth::Config::Find("digest"))->noncemaxduration; return min(nonce_ttl, global_ttl); diff --git a/src/auth/digest/User.h b/src/auth/digest/User.h index c7cc916606..2e86534d0f 100644 --- a/src/auth/digest/User.h +++ b/src/auth/digest/User.h @@ -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 -- 2.47.3