[libvirt] [PATCH 04/10] tests: qemumonitor: Optimize control flow when concatenating replies

John Ferlan jferlan at redhat.com
Fri Jun 8 01:19:00 UTC 2018



On 06/04/2018 09:58 AM, Peter Krempa wrote:
> The test file can be broken up by newlines and is automatically
> concatenated back. Fix the control flow so that the concatenation code
> 'continues' the loop rather than branching out.
> 
> Also add an anotation to the concatenation code.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  tests/qemumonitortestutils.c | 38 ++++++++++++++++++++------------------
>  1 file changed, 20 insertions(+), 18 deletions(-)
> 

Reviewed-by: John Ferlan <jferlan at redhat.com>

John




More information about the libvir-list mailing list