code-style: some formatting and bump LICENSE - uriparser - URI parser
(HTM) git clone git://git.codemadness.org/uriparser
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 6b9afaa73991cccdc66fd989aa7c316477268ffe
(DIR) parent 163a287064136357289d48a806b63ab19a3372e7
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 21 Sep 2025 13:42:42 +0200
code-style: some formatting and bump LICENSE
Diffstat:
M LICENSE | 2 +-
M util.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/LICENSE b/LICENSE
@@ -1,6 +1,6 @@
ISC License
-Copyright (c) 2023 Hiltjo Posthuma <hiltjo@codemadness.org>
+Copyright (c) 2023-2025 Hiltjo Posthuma <hiltjo@codemadness.org>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
(DIR) diff --git a/util.c b/util.c
@@ -19,7 +19,7 @@ uri_hasscheme(const char *s)
}
/* Parse URI string `s` into an uri structure `u`.
- Returns 0 on success or -1 on failure */
+ * Returns 0 on success or -1 on failure */
int
uri_parse(const char *s, struct uri *u)
{
@@ -134,8 +134,8 @@ parsepath:
}
/* Transform and try to make the URI `u` absolute using base URI `b` into `a`.
- Follows some of the logic from "RFC 3986 - 5.2.2. Transform References".
- Returns 0 on success, -1 on error or truncation. */
+ * Follows some of the logic from "RFC 3986 - 5.2.2. Transform References".
+ * Returns 0 on success, -1 on error or truncation. */
int
uri_makeabs(struct uri *a, struct uri *u, struct uri *b)
{