mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00: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
|
||||
*
|
||||
* Copyright (C) 2006-2012 Red Hat, Inc.
|
||||
* Copyright (C) 2006-2013 Red Hat, Inc.
|
||||
* Copyright (C) 2006 Daniel P. Berrange
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
@ -943,7 +943,7 @@ virJSONValuePtr virNetSocketPreExecRestart(virNetSocketPtr sock)
|
||||
|
||||
virMutexLock(&sock->lock);
|
||||
|
||||
#if HAVE_SASL
|
||||
#if WITH_SASL
|
||||
if (sock->saslSession) {
|
||||
virReportError(VIR_ERR_OPERATION_INVALID, "%s",
|
||||
_("Unable to save socket state when SASL session is active"));
|
||||
|
Loading…
Reference in New Issue
Block a user