[PATCH 1/9] virDomainDiskAddISCSIPoolSourceHost: Sanitize handling of string list

Ján Tomko jtomko at redhat.com
Wed Feb 5 15:02:57 UTC 2020


On Wed, Feb 05, 2020 at 02:40:52PM +0100, Peter Krempa wrote:
>Use virStringSplitCount instead of virStringSplit so that we can drop
>the call to virStringListLength and use VIR_AUTOSTRINGLIST to declare
>it and allow removal of the cleanup section.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/conf/domain_conf.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200205/bf993bdc/attachment-0001.sig>


More information about the libvir-list mailing list