]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Run code if proxy is defined, too
authorAlan T. DeKok <aland@freeradius.org>
Mon, 18 May 2009 12:16:38 +0000 (14:16 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 18 May 2009 12:16:38 +0000 (14:16 +0200)
src/main/event.c

index b8666259384964126a809d7909da33e0e85d1353..d8d66e79626a9892fd8036d2d05b73a6664ad081 100644 (file)
@@ -1193,7 +1193,7 @@ static void wait_a_bit(void *ctx)
                        break;
                }
 
-#if defined(HAVE_PTHREAD_H)
+#if defined(HAVE_PTHREAD_H) || defined(WITH_PROXY)
                /*
                 *      A child thread MAY still be running on the
                 *      request.  Ask the thread to stop working on