[PATCH 05/11] virDomainHostdevDefFormatSubsysSCSI: Avoid ternary operator when formatting address

Ján Tomko jtomko at redhat.com
Thu Jul 16 12:34:49 UTC 2020


On a Tuesday in 2020, Peter Krempa wrote:
>Split up formatting of the '<address>' element rather that trying to
>optimize it with formatting string hacks.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/conf/domain_conf.c | 12 +++++++-----
> 1 file changed, 7 insertions(+), 5 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/20200716/c036d2b3/attachment-0001.sig>


More information about the libvir-list mailing list