637 |
{ |
{ |
638 |
if (p_bpp < g_server_bpp) |
if (p_bpp < g_server_bpp) |
639 |
{ |
{ |
640 |
warning("Server limited colour depth to %d bits\n", p_bpp); |
warning("Server limited colour depth to %d bits\n", |
641 |
|
p_bpp); |
642 |
g_server_bpp = p_bpp; |
g_server_bpp = p_bpp; |
643 |
} |
} |
644 |
break; |
break; |
893 |
uint8 data_pdu_type; |
uint8 data_pdu_type; |
894 |
uint8 ctype; |
uint8 ctype; |
895 |
uint16 clen; |
uint16 clen; |
896 |
int roff, rlen, len, ret; |
int len; |
897 |
|
#if 0 |
898 |
|
int roff, rlen, ret; |
899 |
static struct stream ns; |
static struct stream ns; |
900 |
static signed char *dict = 0; |
static signed char *dict = 0; |
901 |
|
#endif |
902 |
|
|
903 |
in_uint8s(s, 6); /* shareid, pad, streamid */ |
in_uint8s(s, 6); /* shareid, pad, streamid */ |
904 |
in_uint16(s, len); |
in_uint16(s, len); |