]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
build: fix incomplete WITH_SASL conversion
authorEric Blake <eblake@redhat.com>
Fri, 11 Jan 2013 17:29:03 +0000 (10:29 -0700)
committerEric Blake <eblake@redhat.com>
Fri, 11 Jan 2013 17:30:18 +0000 (10:30 -0700)
Commit 321a7d53 missed a spot.

* src/rpc/virnetsocket.c (virNetSocketPreExecRestart): Use right
conditional.

src/rpc/virnetsocket.c

index 549aabebc50b3562d9a35ea4751b4b0dc0bc94cf..00c61219f37635002a68cfb706eb79a47901ed65 100644 (file)
@@ -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"));