mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-12 13:17:58 +03:00
Fix copy-paste error in virNetServerSetClientAuthenticated
Fixes: db16792aa9
Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
e0cafba3c4
commit
136b821f18
@ -827,7 +827,7 @@ virNetServerSetClientAuthenticated(virNetServer *srv,
|
|||||||
virNetServerClient *client)
|
virNetServerClient *client)
|
||||||
{
|
{
|
||||||
VIR_LOCK_GUARD server_lock = virObjectLockGuard(srv);
|
VIR_LOCK_GUARD server_lock = virObjectLockGuard(srv);
|
||||||
VIR_LOCK_GUARD client_lock = virObjectLockGuard(srv);
|
VIR_LOCK_GUARD client_lock = virObjectLockGuard(client);
|
||||||
|
|
||||||
virNetServerClientSetAuthLocked(client, VIR_NET_SERVER_SERVICE_AUTH_NONE);
|
virNetServerClientSetAuthLocked(client, VIR_NET_SERVER_SERVICE_AUTH_NONE);
|
||||||
virNetServerSetClientAuthCompletedLocked(srv, client);
|
virNetServerSetClientAuthCompletedLocked(srv, client);
|
||||||
|
Loading…
Reference in New Issue
Block a user