summaryrefslogtreecommitdiff
path: root/package/freeradius-server/patches/patch-src_main_event_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/freeradius-server/patches/patch-src_main_event_c')
-rw-r--r--package/freeradius-server/patches/patch-src_main_event_c21
1 files changed, 14 insertions, 7 deletions
diff --git a/package/freeradius-server/patches/patch-src_main_event_c b/package/freeradius-server/patches/patch-src_main_event_c
index 99184d09a..1750f53d5 100644
--- a/package/freeradius-server/patches/patch-src_main_event_c
+++ b/package/freeradius-server/patches/patch-src_main_event_c
@@ -1,14 +1,21 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- freeradius-server-2.1.6.orig/src/main/event.c 2009-05-18 13:13:55.000000000 +0200
-+++ freeradius-server-2.1.6/src/main/event.c 2009-06-01 17:06:44.356592479 +0200
-@@ -1667,8 +1667,9 @@ static int originated_coa_request(REQUES
+--- freeradius-server-2.1.8.orig/src/main/event.c 2009-12-30 16:44:35.000000000 +0100
++++ freeradius-server-2.1.8/src/main/event.c 2010-02-05 19:43:55.803074411 +0100
+@@ -1177,7 +1177,7 @@ static void wait_a_bit(void *ctx)
+ }
+
+ stop_processing:
+-#if defined(HAVE_PTHREAD_H) || defined(WITH_PROXY)
++#if defined(HAVE_PTHREAD_H)
+ /*
+ * A child thread MAY still be running on the
+ * request. Ask the thread to stop working on
+@@ -1646,7 +1646,9 @@ static int originated_coa_request(REQUES
*/
request->num_proxied_requests = 1;
request->num_proxied_responses = 0;
-+#if defined(HAVE_PTHREAD_H)
++#ifdef HAVE_PTHREAD_H
request->child_pid = NO_SUCH_CHILD_PID;
--
+#endif
+
update_event_timestamp(request->proxy, request->proxy_when.tv_sec);
- request->child_state = REQUEST_PROXIED;