]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
More minor reformatting
authorAlan T. DeKok <aland@freeradius.org>
Wed, 9 Nov 2011 20:56:48 +0000 (21:56 +0100)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 10 Nov 2011 16:16:53 +0000 (17:16 +0100)
src/main/connection.c

index ae1b99c1101b0654df6efe4046cc17fdaade895e..59bacf85ebfd35dd75c2ed7d13fd4c8302e7d91b 100644 (file)
@@ -455,7 +455,8 @@ static int fr_connection_manage(fr_connection_pool_t *fc,
         */
        if (this->used) return 1;
 
-       if ((fc->max_uses > 0) && (this->num_uses >= fc->max_uses)) {
+       if ((fc->max_uses > 0) &&
+           (this->num_uses >= fc->max_uses)) {
                DEBUG("%s: Closing expired connection (%i): Hit max_uses limit",
                        fc->log_prefix, this->number);
        do_delete:
@@ -468,13 +469,15 @@ static int fr_connection_manage(fr_connection_pool_t *fc,
                return 0;
        }
 
-       if ((fc->lifetime > 0) && ((this->start + fc->lifetime) < now)){
+       if ((fc->lifetime > 0) &&
+           ((this->start + fc->lifetime) < now)) {
                DEBUG("%s: Closing expired connection (%i) ",
                        fc->log_prefix, this->number);
                goto do_delete;
        }
 
-       if ((fc->idle_timeout > 0) && ((this->last_used + fc->idle_timeout) < now)){
+       if ((fc->idle_timeout > 0) &&
+           ((this->last_used + fc->idle_timeout) < now)) {
                DEBUG("%s: Closing idle connection (%i)",
                        fc->log_prefix, this->number);
                goto do_delete;