diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2013-09-26 11:38:25 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2013-09-26 11:38:25 -0700 |
commit | 8d8ec92d020127405406c0452483f4dbc9ad6867 (patch) | |
tree | 9d43169e5d5150aabddcb67f81f0584269c610f2 /xrdp | |
parent | c1b7cbd6571b5cb71ddf59014273a189ffa32f66 (diff) | |
download | xrdp-proprietary-8d8ec92d020127405406c0452483f4dbc9ad6867.tar.gz xrdp-proprietary-8d8ec92d020127405406c0452483f4dbc9ad6867.zip |
xrdp: fix after a8 merge
Diffstat (limited to 'xrdp')
-rw-r--r-- | xrdp/xrdp_cache.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xrdp/xrdp_cache.c b/xrdp/xrdp_cache.c index a93f73c4..c57fc2ad 100644 --- a/xrdp/xrdp_cache.c +++ b/xrdp/xrdp_cache.c @@ -83,9 +83,9 @@ xrdp_cache_delete(struct xrdp_cache *self) } /* free all the cached bitmaps */ - for (i = 0; i < 3; i++) + for (i = 0; i < XRDP_MAX_BITMAP_CACHE_ID; i++) { - for (j = 0; j < XRDP_BITMAP_CACHE_ENTRIES; j++) + for (j = 0; j < XRDP_MAX_BITMAP_CACHE_IDX; j++) { xrdp_bitmap_delete(self->bitmap_items[i][j].bitmap); } @@ -122,9 +122,9 @@ xrdp_cache_reset(struct xrdp_cache *self, int j; /* free all the cached bitmaps */ - for (i = 0; i < 3; i++) + for (i = 0; i < XRDP_MAX_BITMAP_CACHE_ID; i++) { - for (j = 0; j < XRDP_BITMAP_CACHE_ENTRIES; j++) + for (j = 0; j < XRDP_MAX_BITMAP_CACHE_IDX; j++) { xrdp_bitmap_delete(self->bitmap_items[i][j].bitmap); } |