otp_putfd(): add disconnect arg, to allow just mutex release, avoiding
authorfcusack <fcusack>
Tue, 24 Oct 2006 04:02:37 +0000 (04:02 +0000)
committerfcusack <fcusack>
Tue, 24 Oct 2006 04:02:37 +0000 (04:02 +0000)
commite1dea6d9dba964bc17d7dbea6aa757d327e6f9bf
tree7ca2e042ab0a3952290e49177aa4294f3b46021a
parentacec2b7878b00245815d25c2aee2b7e12d22393b
otp_putfd(): add disconnect arg, to allow just mutex release, avoiding
fd leak in radiusd and otpd
otp_verify(): otp_putfd(fdp, 0) on successful return, otp_putfd(fdp, 1)
on 2 error return cases that we missed
src/modules/rlm_otp/otp_pw_valid.c
src/modules/rlm_otp/otp_pw_valid.h