Add missing length to dir query response.
This commit is contained in:
parent
dfa30fbef6
commit
1c3d0ba741
@ -382,7 +382,7 @@ void guac_rdpdr_fs_process_query_directory(guac_rdpdr_device* device, wStream* i
|
||||
* Handle errors as a lack of files.
|
||||
*/
|
||||
|
||||
output_stream = Stream_New(NULL, 16);
|
||||
output_stream = Stream_New(NULL, 20);
|
||||
|
||||
/* Write header */
|
||||
Stream_Write_UINT16(output_stream, RDPDR_CTYP_CORE);
|
||||
@ -392,6 +392,7 @@ void guac_rdpdr_fs_process_query_directory(guac_rdpdr_device* device, wStream* i
|
||||
Stream_Write_UINT32(output_stream, device->device_id);
|
||||
Stream_Write_UINT32(output_stream, completion_id);
|
||||
Stream_Write_UINT32(output_stream, STATUS_NO_MORE_FILES);
|
||||
Stream_Write_UINT32(output_stream, 0);
|
||||
|
||||
svc_plugin_send((rdpSvcPlugin*) device->rdpdr, output_stream);
|
||||
guac_client_log_info(device->rdpdr->client, "Sent STATUS_NO_MORE_FILES");
|
||||
|
Loading…
Reference in New Issue
Block a user