patch-src_main_event_c 556 B

1234567891011121314
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- freeradius-server-2.1.6.orig/src/main/event.c 2009-05-18 13:13:55.000000000 +0200
  3. +++ freeradius-server-2.1.6/src/main/event.c 2009-06-01 17:06:44.356592479 +0200
  4. @@ -1667,8 +1667,9 @@ static int originated_coa_request(REQUES
  5. */
  6. request->num_proxied_requests = 1;
  7. request->num_proxied_responses = 0;
  8. +#if defined(HAVE_PTHREAD_H)
  9. request->child_pid = NO_SUCH_CHILD_PID;
  10. -
  11. +#endif
  12. update_event_timestamp(request->proxy, request->proxy_when.tv_sec);
  13. request->child_state = REQUEST_PROXIED;