]> git.proxmox.com Git - mirror_qemu.git/commit - ui/vnc.c
vnc: auth reject cleanup
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 7 Oct 2010 09:50:24 +0000 (11:50 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 9 Dec 2010 13:23:24 +0000 (14:23 +0100)
commit6bffdf0f83263bad1dd2187c533758d7cb6f5bcf
tree86dc5e5ae3bdf6d7f25b731984d01bc20afa6d2f
parentcb42a870c3f5b38911b1428cb785dd702bc47d0f
vnc: auth reject cleanup

protocol_client_auth_vnc() has two places where the auth can fail,
with identical code sending the reject message to the client.
Move the common code to the end of the function and make both
error paths jump there.  No functional change.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/vnc.c