mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
build: fix incomplete WITH_SASL conversion
Commit 321a7d53
missed a spot.
* src/rpc/virnetsocket.c (virNetSocketPreExecRestart): Use right
conditional.
This commit is contained in:
parent
6e1e26e9a7
commit
a18d9012a2
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* virnetsocket.c: generic network socket handling
|
* virnetsocket.c: generic network socket handling
|
||||||
*
|
*
|
||||||
* Copyright (C) 2006-2012 Red Hat, Inc.
|
* Copyright (C) 2006-2013 Red Hat, Inc.
|
||||||
* Copyright (C) 2006 Daniel P. Berrange
|
* Copyright (C) 2006 Daniel P. Berrange
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or
|
* This library is free software; you can redistribute it and/or
|
||||||
@ -943,7 +943,7 @@ virJSONValuePtr virNetSocketPreExecRestart(virNetSocketPtr sock)
|
|||||||
|
|
||||||
virMutexLock(&sock->lock);
|
virMutexLock(&sock->lock);
|
||||||
|
|
||||||
#if HAVE_SASL
|
#if WITH_SASL
|
||||||
if (sock->saslSession) {
|
if (sock->saslSession) {
|
||||||
virReportError(VIR_ERR_OPERATION_INVALID, "%s",
|
virReportError(VIR_ERR_OPERATION_INVALID, "%s",
|
||||||
_("Unable to save socket state when SASL session is active"));
|
_("Unable to save socket state when SASL session is active"));
|
||||||
|
Loading…
Reference in New Issue
Block a user