[libvirt] [PATCH 2/7] util: Make virStringStripSuffix() return bool
Peter Krempa
pkrempa at redhat.com
Thu Mar 7 11:38:02 UTC 2019
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 at redhat.com>
> ---
> src/util/virstring.c | 8 ++++----
> src/util/virstring.h | 4 ++--
> tests/testutilsqemu.c | 2 +-
> 3 files changed, 7 insertions(+), 7 deletions(-)
ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190307/3f94a043/attachment-0001.sig>
More information about the libvir-list
mailing list