]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
don't access u->rr if it doesn't exist
authorAlan T. DeKok <aland@freeradius.org>
Tue, 3 Oct 2017 15:29:08 +0000 (11:29 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 3 Oct 2017 15:29:32 +0000 (11:29 -0400)
src/modules/rlm_radius/rlm_radius_udp.c

index e180ebcdc962ae6dc58d0ed0ac2d811bacd9108a..340225dffc1aa364f3c3c2bf2a0a51ea1e4f74eb 100644 (file)
@@ -1031,8 +1031,7 @@ static void response_timeout(fr_event_list_t *el, struct timeval *now, void *uct
                        REDEBUG("Failing proxied request ID %d due to error trying to proxy on connection %s",
                                u->rr->id, c->name);
                } else {
-                       REDEBUG("Failing proxied request ID %d due to error trying to proxy, with no connection",
-                               u->rr->id);
+                       REDEBUG("Failing proxied request due to error trying to proxy, with no connection");
                }
 
                /*
@@ -1048,8 +1047,7 @@ static void response_timeout(fr_event_list_t *el, struct timeval *now, void *uct
                        REDEBUG("Failing proxied request ID %d due to lack of response on connection %s",
                                u->rr->id, c->name);
                } else {
-                       REDEBUG("Failing proxied request ID %d due to lack of response",
-                               u->rr->id);
+                       REDEBUG("Failing proxied request due to lack of response");
                }
                mod_finished_request(c, u);
                return;