1
0

patch-src_main_event_c 718 B

123456789101112131415161718192021
  1. --- freeradius-server-2.1.7.orig/src/main/event.c 2009-09-14 16:43:29.000000000 +0200
  2. +++ freeradius-server-2.1.7/src/main/event.c 2009-11-19 22:55:03.000000000 +0100
  3. @@ -1143,7 +1143,7 @@ static void wait_a_bit(void *ctx)
  4. break;
  5. }
  6. -#if defined(HAVE_PTHREAD_H) || defined(WITH_PROXY)
  7. +#if defined(HAVE_PTHREAD_H)
  8. /*
  9. * A child thread MAY still be running on the
  10. * request. Ask the thread to stop working on
  11. @@ -1617,7 +1617,9 @@ static int originated_coa_request(REQUES
  12. */
  13. request->num_proxied_requests = 1;
  14. request->num_proxied_responses = 0;
  15. +#ifdef HAVE_PTHREAD_H
  16. request->child_pid = NO_SUCH_CHILD_PID;
  17. +#endif
  18. update_event_timestamp(request->proxy, request->proxy_when.tv_sec);