fix typo - jfconvert - JSON Feed (subset) to sfeed or Atom converter
(HTM) git clone git://git.codemadness.org/jfconvert
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit ff7a80ab6af0e322f0e45b2bd5187152df55faf6
(DIR) parent 3439982120504714ab7a2a0d0ca49454ef1da121
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 15 May 2023 18:47:27 +0200
fix typo
Diffstat:
M json.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/json.c b/json.c
@@ -132,7 +132,7 @@ handlechr:
while (1) {
c = GETNEXT();
chr:
- /* EOF or control char: 0x7f is not defined as a control char in RFC8259 */
+ /* EOF or control char: 0x7f is not defined as a control char in RFC 8259 */
if (c < 0x20)
JSON_INVALID();
@@ -156,7 +156,7 @@ escchr:
JSON_INVALID(); /* invalid code point */
cp |= (hexdigit(c) << i);
}
- /* RFC8259 - 7. Strings - surrogates.
+ /* RFC 8259 - 7. Strings - surrogates.
* 0xd800 - 0xdbff - high surrogates */
if (cp >= 0xd800 && cp <= 0xdbff) {
if ((c = GETNEXT()) != '\\') {