[core,pointer] improve logging
This commit is contained in:
parent
94072dc64a
commit
296fe9cfdb
6
libfreerdp/cache/pointer.c
vendored
6
libfreerdp/cache/pointer.c
vendored
@ -280,7 +280,8 @@ rdpPointer* pointer_cache_get(rdpPointerCache* pointer_cache, UINT32 index)
|
||||
|
||||
if (index >= pointer_cache->cacheSize)
|
||||
{
|
||||
WLog_ERR(TAG, "invalid pointer index:%" PRIu32 "", index);
|
||||
WLog_ERR(TAG, "invalid pointer index:%" PRIu32 " [%" PRIu32 "]", index,
|
||||
pointer_cache->cacheSize);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@ -297,7 +298,8 @@ BOOL pointer_cache_put(rdpPointerCache* pointer_cache, UINT32 index, rdpPointer*
|
||||
|
||||
if (index >= pointer_cache->cacheSize)
|
||||
{
|
||||
WLog_ERR(TAG, "invalid pointer index:%" PRIu32 "", index);
|
||||
WLog_ERR(TAG, "invalid pointer index:%" PRIu32 " [%" PRIu32 "]", index,
|
||||
pointer_cache->cacheSize);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user