mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[winpr,json] fix jansson WINPR_JSON_IsObject
This commit is contained in:
@@ -211,7 +211,7 @@ BOOL WINPR_JSON_IsArray(const WINPR_JSON* item)
|
||||
|
||||
BOOL WINPR_JSON_IsObject(const WINPR_JSON* item)
|
||||
{
|
||||
return json_is_array(ccast(item));
|
||||
return json_is_object(ccast(item));
|
||||
}
|
||||
|
||||
WINPR_JSON* WINPR_JSON_CreateNull(void)
|
||||
|
||||
Reference in New Issue
Block a user