public inbox for iwd@lists.linux.dev
 help / color / mirror / Atom feed
From: James Prestwood <prestwoj@gmail.com>
To: iwd@lists.linux.dev
Cc: James Prestwood <prestwoj@gmail.com>
Subject: [PATCH 4/4] json: fix comment typo, "json_object_is_valid"
Date: Fri, 17 Nov 2023 06:12:27 -0800	[thread overview]
Message-ID: <20231117141227.60722-4-prestwoj@gmail.com> (raw)
In-Reply-To: <20231117141227.60722-1-prestwoj@gmail.com>

This should be json_iter_is_valid.
---
 src/json.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/json.h b/src/json.h
index 713ab56f..feb85d67 100644
--- a/src/json.h
+++ b/src/json.h
@@ -85,7 +85,7 @@ void json_iter_init(struct json_iter *iter, struct json_contents *c);
  * other types are encountered.
  *
  * 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, ...);
 
-- 
2.34.1


  parent reply	other threads:[~2023-11-17 14:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-17 14:12 [PATCH 1/4] dpp-util: add support for 3rd party JSON fields James Prestwood
2023-11-17 14:12 ` [PATCH 2/4] dpp: include 3rd party settings in network profile James Prestwood
2023-11-17 14:12 ` [PATCH 3/4] auto-t: add checks for DPP 3rd party settings James Prestwood
2023-11-17 14:12 ` James Prestwood [this message]
2023-11-17 15:49 ` [PATCH 1/4] dpp-util: add support for 3rd party JSON fields Denis Kenzior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231117141227.60722-4-prestwoj@gmail.com \
    --to=prestwoj@gmail.com \
    --cc=iwd@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox