build: fix incomplete WITH_SASL conversion

Commit 321a7d53 missed a spot.

* src/rpc/virnetsocket.c (virNetSocketPreExecRestart): Use right
conditional.
This commit is contained in:
Eric Blake 2013-01-11 10:29:03 -07:00
parent 6e1e26e9a7
commit a18d9012a2

View File

@ -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"));