aboutsummaryrefslogtreecommitdiff
path: root/src/core/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/url.c')
-rw-r--r--src/core/url.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/url.c b/src/core/url.c
index 3d8898bd..88a0cf0a 100644
--- a/src/core/url.c
+++ b/src/core/url.c
@@ -225,7 +225,7 @@ static struct {
// clang-format on
};
-static const char *
+const char *
nni_url_default_port(const char *scheme)
{
const char *s;
@@ -255,7 +255,6 @@ nni_url_parse(nni_url **urlp, const char *raw)
{
nni_url * url;
size_t len;
- int outlen;
const char *s;
char c;
int rv;
@@ -480,4 +479,4 @@ nni_url_clone(nni_url **dstp, const nni_url *src)
#undef URL_COPYSTR
*dstp = dst;
return (0);
-} \ No newline at end of file
+}