3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2025-02-19 18:40:44 +01:00

json: fix comment typo, "json_object_is_valid"

This should be json_iter_is_valid.
This commit is contained in:
James Prestwood 2023-11-17 06:12:27 -08:00 committed by Denis Kenzior
parent 4b147217ac
commit cac10b52fc

View File

@ -85,7 +85,7 @@ void json_iter_init(struct json_iter *iter, struct json_contents *c);
* other types are encountered. * other types are encountered.
* *
* JSON_OPTIONAL string values will point to NULL if not found * JSON_OPTIONAL string values will point to NULL if not found
* JSON_OPTIONAL objects/primitives can be checked with json_object_is_valid. * JSON_OPTIONAL objects/primitives can be checked with json_iter_is_valid.
*/ */
bool json_iter_parse(struct json_iter *iter, enum json_type type, ...); bool json_iter_parse(struct json_iter *iter, enum json_type type, ...);