Fixed a few errors in error recovery and uses of int instead of lwres_result_t
Fixed a few errors in error recovery and uses of int instead of lwres_result_t

each/bind9-collab,pecharmin/bind9,pecharmin/bind9,each/bind9-collab,pecharmin/bind9,each/bind9-collab,each/bind9-collab,pecharmin/bind9,pecharmin/bind9,pecharmin/bind9,each/bind9-collab,each/bind9-collab