]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
rlm_radius_udp: Formatting
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 4 Mar 2020 01:13:16 +0000 (19:13 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 4 Mar 2020 14:32:32 +0000 (08:32 -0600)
src/modules/rlm_radius/rlm_radius_udp.c

index 384bdb132c9b08671e2742259fc73bb10d73e8f0..fdc0a80a6eaef533340ad7f797292952d765bbf6 100644 (file)
@@ -293,10 +293,10 @@ static void status_check_reset(udp_handle_t *h, udp_request_t *u)
  */
 static void status_check_alloc(fr_event_list_t *el, udp_handle_t *h)
 {
-       udp_request_t *u;
-       REQUEST *request;
-       rlm_radius_udp_t const *inst = h->inst;
-       vp_map_t *map;
+       udp_request_t           *u;
+       REQUEST                 *request;
+       rlm_radius_udp_t const  *inst = h->inst;
+       vp_map_t                *map;
 
        u = talloc_zero(h, udp_request_t);
 
@@ -973,9 +973,7 @@ static int encode(rlm_radius_udp_t const *inst, REQUEST *request, udp_request_t
 
                proxy_state = 0;
                vp = fr_pair_find_by_da(request->packet->vps, attr_event_timestamp, TAG_ANY);
-               if (vp) {
-                       vp->vp_date = fr_time_to_unix_time(u->retry.updated);
-               }
+               if (vp) vp->vp_date = fr_time_to_unix_time(u->retry.updated);
 
                u->can_retransmit = false;
        }