inspector, c: return value in send_msg()

Signed-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>