Remove some printouts
parent
d222caffc2
commit
8cb192c0ad
|
@ -428,8 +428,6 @@ static int on_client_set_pixel_format(struct vnc_client *client)
|
||||||
|
|
||||||
client->fourcc = rfb_pixfmt_to_fourcc(fmt);
|
client->fourcc = rfb_pixfmt_to_fourcc(fmt);
|
||||||
|
|
||||||
printf("SetPixelFormat: %s\n", fourcc_to_string(client->fourcc));
|
|
||||||
|
|
||||||
return 4 + sizeof(struct rfb_pixel_format);
|
return 4 + sizeof(struct rfb_pixel_format);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -564,7 +562,6 @@ static int on_client_message(struct vnc_client *client)
|
||||||
|
|
||||||
static int try_read_client_message(struct vnc_client *client)
|
static int try_read_client_message(struct vnc_client *client)
|
||||||
{
|
{
|
||||||
printf("Client state: %d\n", client->state);
|
|
||||||
switch (client->state) {
|
switch (client->state) {
|
||||||
case VNC_CLIENT_STATE_ERROR:
|
case VNC_CLIENT_STATE_ERROR:
|
||||||
uv_close((uv_handle_t*)&client->stream_handle, cleanup_client);
|
uv_close((uv_handle_t*)&client->stream_handle, cleanup_client);
|
||||||
|
|
Loading…
Reference in New Issue