From dc6ae54d7a0184c6dd4c04ee5815ba02b4a4f711 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Tue, 30 Sep 2025 10:15:16 +0200 Subject: [PATCH 1/2] [winpr,json] fix jansson WINPR_JSON_IsObject --- winpr/libwinpr/utils/json/jansson.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winpr/libwinpr/utils/json/jansson.c b/winpr/libwinpr/utils/json/jansson.c index 7e1dc9e36..a12e8ed96 100644 --- a/winpr/libwinpr/utils/json/jansson.c +++ b/winpr/libwinpr/utils/json/jansson.c @@ -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) From 64b67c938ca65d6d4f1dda573094b4c69f44282e Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Tue, 30 Sep 2025 10:13:24 +0200 Subject: [PATCH 2/2] [utils] fix doxygen for freerdp_passphrase_read --- include/freerdp/utils/passphrase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/freerdp/utils/passphrase.h b/include/freerdp/utils/passphrase.h index 0290d0df6..861bc475e 100644 --- a/include/freerdp/utils/passphrase.h +++ b/include/freerdp/utils/passphrase.h @@ -67,7 +67,7 @@ extern "C" * @param prompt The prompt to show to the user * @param buf A pointer to a buffer that will receive the output * @param bufsiz The size of the buffer in bytes - * @param from_stdin + * @param from_stdin \b 0 if a terminal is expected, != 0 if data is read from stdin * * @return A pointer to \ref buf containing the password or \ref NULL in case of an error. */