From: Alan T. DeKok Date: Thu, 19 Oct 2017 19:33:43 +0000 (-0400) Subject: channel recv_time cannot be NULL. CID #1419871 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b081390b01e90fd0be0300a6f326ea6282e18827;p=thirdparty%2Ffreeradius-server.git channel recv_time cannot be NULL. CID #1419871 --- diff --git a/src/lib/io/worker.c b/src/lib/io/worker.c index 78575146889..8ac423b67a9 100644 --- a/src/lib/io/worker.c +++ b/src/lib/io/worker.c @@ -825,6 +825,7 @@ static REQUEST *fr_worker_get_request(fr_worker_t *worker, fr_time_t now) * processing this message. */ request->async->channel = cd->channel.ch; + request->async->original_recv_time = cd->request.recv_time; request->async->recv_time = *request->async->original_recv_time; request->async->el = worker->el; @@ -866,11 +867,6 @@ nak: return NULL; } - /* - * Hoist run-time checks here. - */ - if (!cd->request.recv_time) request->async->original_recv_time = &request->async->recv_time; - /* * We're done with this message. */