Re: [PATCH 2/7] util: Make virStringStripSuffix() return bool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 07, 2019 at 11:14:41 +0100, Andrea Bolognani wrote:
> While this function is not, strictly speaking, a predicate,
> it still mostly behaves like one as evidenced by the vast
> majority of its callers, so using bool rather than int as
> the return type makes sense.
> 
> Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
> ---
>  src/util/virstring.c  | 8 ++++----
>  src/util/virstring.h  | 4 ++--
>  tests/testutilsqemu.c | 2 +-
>  3 files changed, 7 insertions(+), 7 deletions(-)

ACK

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux