mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
Logging
This commit is contained in:
@@ -297,6 +297,7 @@ int guac_client_init(guac_client* client, int argc, char** argv) {
|
||||
|
||||
if (argc < 3) {
|
||||
guac_send_error(client->io, "VNC client requires hostname and port arguments");
|
||||
guac_flush(client->io);
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -330,6 +331,7 @@ int guac_client_init(guac_client* client, int argc, char** argv) {
|
||||
/* Connect */
|
||||
if (!rfbInitClient(rfb_client, NULL, NULL)) {
|
||||
guac_send_error(client->io, "Error initializing VNC client");
|
||||
guac_flush(client->io);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user