fix typo - frontends - front-ends for some sites (experiment)
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 4715c8cfb1799ef4dfe14dea87efc8e4d7c3a60e
DIR parent d65b745eb5ca4d16f692a140ae1a8611fcd81da7
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 15 May 2023 18:50:18 +0200
fix typo
Diffstat:
M json.c | 4 ++--
M youtube/feed.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
---
DIR diff --git a/json.c b/json.c
@@ -160,7 +160,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();
@@ -184,7 +184,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()) != '\\') {
DIR diff --git a/youtube/feed.c b/youtube/feed.c
@@ -355,10 +355,10 @@ datetounix(long long year, int mon, int day, int hour, int min, int sec)
}
/* Get timezone from string, return time offset in seconds from UTC.
- * NOTE: only parses timezones in RFC-822, many other timezone names are
+ * NOTE: only parses timezones in RFC 822, many other timezone names are
* ambiguous anyway.
- * ANSI and military zones are defined wrong in RFC822 and are unsupported,
- * see note on RFC2822 4.3 page 32. */
+ * ANSI and military zones are defined wrong in RFC 822 and are unsupported,
+ * see note on RFC 2822 4.3 page 32. */
static long
gettzoffset(const char *s)
{