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. */ 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)