vnc: Clean up vncws_send_handshake_response()
authorMarkus Armbruster <armbru@redhat.com>
Fri, 25 Jan 2013 09:31:16 +0000 (10:31 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 30 Jan 2013 09:31:22 +0000 (10:31 +0100)
commitcfba8e6f92d45a2374622c3dc57499e42a1c07e1
tree770e3c1c7d298dee989c19c4875504aba62d6e66
parent0893d46014b0300fb8aec92df94effea34d04b61
vnc: Clean up vncws_send_handshake_response()

Use appropriate types, drop superfluous casts, use sizeof, don't
exploit that this particular call of gnutls_fingerprint() doesn't
change its last argument.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
ui/vnc-ws.c