GUACAMOLE-249: Correct remaining void returns from BOOL handlers.

This commit is contained in:
Michael Jumper 2019-09-29 15:01:23 -07:00
parent 7332e633dc
commit 1e692094be
2 changed files with 2 additions and 2 deletions

View File

@ -172,7 +172,7 @@ BOOL guac_rdp_bitmap_setsurface(rdpContext* context, rdpBitmap* bitmap, BOOL pri
/* Make sure that the recieved bitmap is not NULL before processing */ /* Make sure that the recieved bitmap is not NULL before processing */
if (bitmap == NULL) { if (bitmap == NULL) {
guac_client_log(client, GUAC_LOG_INFO, "NULL bitmap found in bitmap_setsurface instruction."); guac_client_log(client, GUAC_LOG_INFO, "NULL bitmap found in bitmap_setsurface instruction.");
return; return TRUE;
} }
/* If not available as a surface, make available. */ /* If not available as a surface, make available. */

View File

@ -249,7 +249,7 @@ BOOL guac_rdp_gdi_memblt(rdpContext* context, MEMBLT_ORDER* memblt) {
/* Make sure that the recieved bitmap is not NULL before processing */ /* Make sure that the recieved bitmap is not NULL before processing */
if (bitmap == NULL) { if (bitmap == NULL) {
guac_client_log(client, GUAC_LOG_INFO, "NULL bitmap found in memblt instruction."); guac_client_log(client, GUAC_LOG_INFO, "NULL bitmap found in memblt instruction.");
return; return TRUE;
} }
switch (memblt->bRop) { switch (memblt->bRop) {