monitor: Remove uneeded goto
commitd91d9bf617aa560082d7d5c5f405d6b70f7b42c9
authorLuiz Capitulino <lcapitulino@redhat.com>
Tue, 9 Jun 2009 21:21:54 +0000 (9 18:21 -0300)
committerBlue Swirl <blauwirbel@gmail.com>
Wed, 10 Jun 2009 16:45:49 +0000 (10 19:45 +0300)
tree8c80d3d1560100f2aab66516dd6aef685851e829
parent3a41759da391b2364589c3542150630402619595
monitor: Remove uneeded goto

The 'found' goto in monitor_handle_command() can be dropped if we check
for 'cmd->name' after looking up for the command to execute.

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