[libvirt] [PATCH 3/5] Check against python None type when filling in auth parameters

Eric Blake eblake at redhat.com
Mon Sep 10 17:48:49 UTC 2012


On 09/10/2012 09:50 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> When deciding whether to provide an auth function callback
> in openAuth(), credcb was checked against NULL, when it
> really needs to be checked against Py_None
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  python/libvirt-override.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

ACK.

-- 
Eric Blake   eblake at 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: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120910/679673df/attachment-0001.sig>


More information about the libvir-list mailing list