Assign variable before using it
[freeradius.git] / src / main / event.c
index dbb7f66..39ef8f2 100644 (file)
@@ -1095,6 +1095,8 @@ static void no_response_to_proxied_request(void *ctx)
 #endif
                check_for_zombie_home_server(request);
 
+       home = request->home_server;
+
        /*
         *      The default as of 2.1.7 is to allow requests to
         *      fail-over to a backup home server when this one does
@@ -1112,8 +1114,6 @@ static void no_response_to_proxied_request(void *ctx)
                post_proxy_fail_handler(request);
        }
 
-       home = request->home_server;
-
        /*
         *      Don't touch request due to race conditions
         */