765 |
in_uint16_le(s, map.ncolours); |
in_uint16_le(s, map.ncolours); |
766 |
in_uint8s(s, 2); /* pad */ |
in_uint8s(s, 2); /* pad */ |
767 |
|
|
768 |
map.colours = (COLOURENTRY *) xmalloc(3 * map.ncolours); |
map.colours = (COLOURENTRY *) xmalloc(sizeof(COLOURENTRY) * map.ncolours); |
769 |
|
|
770 |
DEBUG(("PALETTE(c=%d)\n", map.ncolours)); |
DEBUG(("PALETTE(c=%d)\n", map.ncolours)); |
771 |
|
|
889 |
} |
} |
890 |
return True; |
return True; |
891 |
/* We want to detect if we got a clean shutdown, but we |
/* We want to detect if we got a clean shutdown, but we |
892 |
can't. Se above. |
can't. Se above. |
893 |
return False; */ |
return False; */ |
894 |
} |
} |
895 |
|
|
896 |
/* Establish a connection up to the RDP layer */ |
/* Establish a connection up to the RDP layer */ |