
3 Dec
2014
3 Dec
'14
4:43 p.m.
On 11/20/2014 06:58 AM, Peter Krempa wrote:
Untangle a few conditions into a case statement and improve reporting of invaid commands. --- src/network/leaseshelper.c | 100 ++++++++++++++++++++++++++------------------- 1 file changed, 58 insertions(+), 42 deletions(-)
+ switch ((enum virLeaseActionFlags) action) { + case VIR_LEASE_ACTION_ADD: + case VIR_LEASE_ACTION_OLD:
Spacing looks odd. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org