GUAC-556: Remove unnecessary guac_socket_flush().

This commit is contained in:
Michael Jumper 2014-03-24 00:31:15 -07:00
parent 894229ded2
commit 59607c6013

View File

@ -289,7 +289,6 @@ int guac_client_init(guac_client* client, int argc, char** argv) {
/* If the final connect attempt fails, return error */ /* If the final connect attempt fails, return error */
if (!rfb_client) { if (!rfb_client) {
guac_client_abort(client, GUAC_PROTOCOL_STATUS_UPSTREAM_ERROR, "Unable to connect to VNC server."); guac_client_abort(client, GUAC_PROTOCOL_STATUS_UPSTREAM_ERROR, "Unable to connect to VNC server.");
guac_socket_flush(client->socket);
return 1; return 1;
} }