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)
commit9e887f0f93da82fe5227735ce8fee6ab87ca6e51
treef86f797bc131b803e7c38b4058270c45969fe518
parent4d15efbcf7ed889fdb054943b502302b45a52a9c
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