[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 2/4] Remove duplicate call to virNetSASLSessionGetIdentity



From: "Daniel P. Berrange" <berrange redhat com>

* daemon/remote.c: remoteSASLFinish called the method
  virNetSASLSessionGetIdentity twice, remove second call
---
 daemon/remote.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/daemon/remote.c b/daemon/remote.c
index 80a2c1f..d917786 100644
--- a/daemon/remote.c
+++ b/daemon/remote.c
@@ -2198,7 +2198,6 @@ remoteSASLFinish(virNetServerClientPtr client)
 
     VIR_DEBUG("Authentication successful %d", virNetServerClientGetFD(client));
 
-    identity = virNetSASLSessionGetIdentity(priv->sasl);
     PROBE(RPC_SERVER_CLIENT_AUTH_ALLOW,
           "client=%p auth=%d identity=%s",
           client, REMOTE_AUTH_SASL, identity);
-- 
1.7.7.5


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]