|
|
|
@ -321,7 +321,7 @@ libxrdp_send_palette(struct xrdp_session *session, int *palette)
|
|
|
|
|
LLOGLN(10, ("libxrdp_send_palette: fastpath"));
|
|
|
|
|
if (xrdp_rdp_init_fastpath((struct xrdp_rdp *)session->rdp, s) != 0)
|
|
|
|
|
{
|
|
|
|
|
free_stream(s);
|
|
|
|
|
free_stream(s);
|
|
|
|
|
return 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -350,7 +350,7 @@ libxrdp_send_palette(struct xrdp_session *session, int *palette)
|
|
|
|
|
if (xrdp_rdp_send_fastpath((struct xrdp_rdp *)session->rdp, s,
|
|
|
|
|
FASTPATH_UPDATETYPE_PALETTE) != 0)
|
|
|
|
|
{
|
|
|
|
|
free_stream(s);
|
|
|
|
|
free_stream(s);
|
|
|
|
|
return 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -674,7 +674,7 @@ libxrdp_send_pointer(struct xrdp_session *session, int cache_idx,
|
|
|
|
|
|
|
|
|
|
switch (bpp)
|
|
|
|
|
{
|
|
|
|
|
case 15:
|
|
|
|
|
//case 15: /* coverity: this is logically dead code */
|
|
|
|
|
case 16:
|
|
|
|
|
p16 = (tui16 *) data;
|
|
|
|
|
for (i = 0; i < 32; i++)
|
|
|
|
@ -782,7 +782,7 @@ libxrdp_set_pointer(struct xrdp_session *session, int cache_idx)
|
|
|
|
|
if (xrdp_rdp_send_fastpath((struct xrdp_rdp *)session->rdp, s,
|
|
|
|
|
FASTPATH_UPDATETYPE_CACHED) != 0)
|
|
|
|
|
{
|
|
|
|
|
free_stream(s);
|
|
|
|
|
free_stream(s);
|
|
|
|
|
return 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|