[libvirt] [PATCH 3/5] virnetserverclient: Fix conditional change HAVE_SASL to WITH_SASL

Eric Blake eblake at redhat.com
Tue Dec 3 16:38:38 UTC 2013


On 12/03/2013 07:18 AM, John Ferlan wrote:
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/rpc/virnetserverclient.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

ACK.

> 
> diff --git a/src/rpc/virnetserverclient.c b/src/rpc/virnetserverclient.c
> index 8acf914..8aebeb0 100644
> --- a/src/rpc/virnetserverclient.c
> +++ b/src/rpc/virnetserverclient.c
> @@ -743,7 +743,7 @@ virNetServerClientCreateIdentity(virNetServerClientPtr client)
>                             VIR_IDENTITY_ATTR_UNIX_PROCESS_TIME,
>                             processtime) < 0)
>          goto error;
> -#if HAVE_SASL
> +#if WITH_SASL
>      if (saslname &&
>          virIdentitySetAttr(ret,
>                             VIR_IDENTITY_ATTR_SASL_USER_NAME,
> @@ -771,7 +771,7 @@ cleanup:
>      VIR_FREE(processid);
>      VIR_FREE(processtime);
>      VIR_FREE(seccontext);
> -#if HAVE_SASL
> +#if WITH_SASL
>      VIR_FREE(saslname);
>  #endif
>  #if WITH_GNUTLS
> 

-- 
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: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131203/106f56f7/attachment-0001.sig>


More information about the libvir-list mailing list