Fixing a mistake in the watchdog code.
authorMuhammad Usama <m.usama@gmail.com>
Wed, 12 Apr 2017 15:33:20 +0000 (20:33 +0500)
committerMuhammad Usama <m.usama@gmail.com>
Wed, 12 Apr 2017 15:55:36 +0000 (20:55 +0500)
commit46b5ab37223c5359c53b99630361ad5363f3cab4
treecb4c9b8f5bb47374b75c57b61ebaeddd68c4ecaf
parentcd7494c46c4146d0969ab837acc2fdc3e016c6d0
Fixing a mistake in the watchdog code.

wrong conditional statement in the get_wd_command_from_reply() function was
making the watchdog to not reliably identify the internal command responses,
and in one case the completed watchdog internal command were not getting
cleaned up.
commit also adds some debug messages in the watchdog code.
src/watchdog/watchdog.c