Ignore acks for non-download streams.

This commit is contained in:
Michael Jumper 2013-11-12 12:06:23 -08:00
parent d30ade6bef
commit ee20114c67

View File

@ -646,6 +646,10 @@ int rdp_guac_client_ack_handler(guac_client* client, guac_stream* stream,
guac_rdp_download_status* download = guac_rdp_download_status* download =
(guac_rdp_download_status*) stream->data; (guac_rdp_download_status*) stream->data;
/* Ignore acks for non-download stream data */
if (download == NULL)
return 0;
/* Get filesystem, return error if no filesystem */ /* Get filesystem, return error if no filesystem */
guac_rdp_fs* fs = ((rdp_guac_client_data*) client->data)->filesystem; guac_rdp_fs* fs = ((rdp_guac_client_data*) client->data)->filesystem;
if (fs == NULL) { if (fs == NULL) {