From: Daniel P. Berrange Date: Fri, 16 Dec 2011 00:19:30 +0000 (+0000) Subject: Remove duplicate call to virNetSASLSessionGetIdentity X-Git-Tag: v0.9.10-rc1~161 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c9a29545b9c2ccff52c5c2165eb6cccc7ae13e3;p=thirdparty%2Flibvirt.git Remove duplicate call to virNetSASLSessionGetIdentity * daemon/remote.c: remoteSASLFinish called the method virNetSASLSessionGetIdentity twice, remove second call --- diff --git a/daemon/remote.c b/daemon/remote.c index 80a2c1f271..d917786de5 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);