summaryrefslogtreecommitdiff
path: root/accel-pppd/radius/req.c
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2014-09-22 13:12:36 +0400
committerDmitry Kozlov <xeb@mail.ru>2014-09-22 13:12:36 +0400
commitfb1f7723afe46d696ba62597909066fea42bfaec (patch)
treec8558ba2abe0899173b85d6724eadcbbb24c0b71 /accel-pppd/radius/req.c
parent62e89248160d3592c2d754fcaa15e37586a5b091 (diff)
downloadaccel-ppp-fb1f7723afe46d696ba62597909066fea42bfaec.tar.gz
accel-ppp-fb1f7723afe46d696ba62597909066fea42bfaec.zip
fixed compilation warnings
Diffstat (limited to 'accel-pppd/radius/req.c')
-rw-r--r--accel-pppd/radius/req.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/radius/req.c b/accel-pppd/radius/req.c
index 172fb1c9..94754a26 100644
--- a/accel-pppd/radius/req.c
+++ b/accel-pppd/radius/req.c
@@ -398,7 +398,8 @@ int rad_req_read(struct triton_md_handler_t *h)
req->reply = pack;
- rad_server_req_exit(req);
+ if (req->active)
+ rad_server_req_exit(req);
if (req->log) {
req->log("recv ");