summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'xrdp/xrdp_cache.c')
-rw-r--r--xrdp/xrdp_cache.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xrdp/xrdp_cache.c b/xrdp/xrdp_cache.c
index f9df7ad5..aab31b57 100644
--- a/xrdp/xrdp_cache.c
+++ b/xrdp/xrdp_cache.c
@@ -69,6 +69,7 @@ int xrdp_cache_add_bitmap(struct xrdp_cache* self, struct xrdp_bitmap* bitmap)
for (i = 0; i < 3; i++)
{
for (j = 0; j < 600; j++)
+ //for (j = 0; (i == 0 && j < 600) || (i == 1 && j < 300); j++)
{
if (xrdp_bitmap_compare(self->bitmap_items[i][j].bitmap, bitmap))
{
@@ -85,6 +86,7 @@ int xrdp_cache_add_bitmap(struct xrdp_cache* self, struct xrdp_bitmap* bitmap)
for (i = 0; i < 3; i++)
{
for (j = 0; j < 600; j++)
+ //for (j = 0; (i == 0 && j < 600) || (i == 1 && j < 300); j++)
{
if (self->bitmap_items[i][j].stamp < oldest)
{