GUAC-556: Remove unnecessary guac_socket_flush().
This commit is contained in:
parent
894229ded2
commit
59607c6013
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user