Use message_set() instead of direct assignment to curr_message
authortb <tb@openbsd.org>
Sat, 6 Feb 2021 06:19:28 +0000 (06:19 +0000)
committertb <tb@openbsd.org>
Sat, 6 Feb 2021 06:19:28 +0000 (06:19 +0000)
commite9b50d6af4617558ab4ff988228e8a0e202db4e1
treec692b70becc1b0342c552d1f7b0fb76667985d35
parent4570cd644ce77ef91b08e2a0090f0720be041869
Use message_set() instead of direct assignment to curr_message
to avoid leaking the current help text.

from Anindya Mukherjee
usr.bin/systat/engine.c