monitor: Introduce get_command_name()
authorLuiz Capitulino <lcapitulino@redhat.com>
Tue, 9 Jun 2009 21:21:30 +0000 (18:21 -0300)
committerBlue Swirl <blauwirbel@gmail.com>
Wed, 10 Jun 2009 16:46:49 +0000 (19:46 +0300)
commit4590fd80b867cca0cad87ec8d3cb7be2cd56f8b4
treef86f797bc131b803e7c38b4058270c45969fe518
parent7869001b8f6e4e5409654cc56d4cc106372c1f80
monitor: Introduce get_command_name()

Move code to extract command name into a function of its own, this
clearifies the code and let us remove two variables from
monitor_handle_command().

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
monitor.c