[libvirt] [PATCH 6/6] Change CMD_STOPONERR(1) to use true

Eric Blake eblake at redhat.com
Tue Mar 18 15:25:45 UTC 2014


On 03/18/2014 07:36 AM, Daniel P. Berrange wrote:
> The CMD_STOPONERR macro uses its parameter as a boolean, so should
> be passed true rather than 1.
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  src/nwfilter/nwfilter_ebiptables_driver.c | 30 +++++++++++++++---------------
>  1 file changed, 15 insertions(+), 15 deletions(-)
> 

Umm, ALL callers of CMD_STOPONERR pass 1 (now true).  Why not just
delete the parameter altogether?

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140318/8f4c323f/attachment-0001.sig>


More information about the libvir-list mailing list