exec: Don't assume request presence when logging
authorNikolai Kondrashov <Nikolai.Kondrashov@redhat.com>
Wed, 15 Oct 2014 17:03:11 +0000 (20:03 +0300)
committerNikolai Kondrashov <Nikolai.Kondrashov@redhat.com>
Thu, 16 Oct 2014 11:08:52 +0000 (14:08 +0300)
commit6302dad574edee4e39d3ec19fbc558e41a96a48b
tree25101406fb37d185857ea6ab6c97ba29e4226e84
parent29445c1946be402be46e3161ce914cfda2eeab2a
exec: Don't assume request presence when logging

Use DEBUG* macros for logging, instead of RDEBUG* macros in
radius_start_program and radius_readfrom_program as these are not
guaranteed to be invoked with a valid request.

For example, not from most of the exec_trigger invocations.
src/include/radiusd.h
src/main/exec.c
src/modules/rlm_mschap/rlm_mschap.c