Miscellaneous minor code cleanup for MRW's review comments
authorJennifer Richards <jennifer@painless-security.com>
Mon, 7 May 2018 18:11:43 +0000 (14:11 -0400)
committerJennifer Richards <jennifer@painless-security.com>
Mon, 7 May 2018 18:11:43 +0000 (14:11 -0400)
commit82e1d1116794e91485353f73febfa54ab5cf28b7
treef3fad7fff63dcaee8ca017dbf5efb13c40fe1b07
parentcb18e83e9f4edd62e5316c19fa5870d46b10ffd4
Miscellaneous minor code cleanup for MRW's review comments

  * Remove generation of DH in trmon.c, it's not needed
  * Check return value of mon_req_add_option() in a few places it had
    been ignored
  * Spell out "Trust Router" in trmon version/help description
  * Rename _decode -> _encode after a copy/paste
  * Fix a few incorrect comments describing file contents
  * Fix function name in debug messages in tr_cfg_parse_config_files()
  * Include glib.h instead of gmodule.h in a few files
12 files changed:
common/tr_config.c
include/tr_config.h
mon/mon_common.c
mon/mon_req.c
mon/mon_req_decode.c
mon/mon_req_encode.c
mon/mon_resp.c
mon/mon_resp_decode.c
mon/mon_resp_encode.c
mon/mons_handlers.c
tr/trmon_main.c
tr/trpc_main.c