aboutsummaryrefslogtreecommitdiff
path: root/src/core/url.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-11-23 08:05:10 -0800
committerGarrett D'Amore <garrett@damore.org>2024-11-23 08:05:10 -0800
commit6d54a51c87eb6d98b53eded8ca962a0e3a372f9e (patch)
tree3c4ebe182609ddc420b119f4a3a6ebfe0c0bdb78 /src/core/url.h
parentd142185f3fa980e6099c3f07d37ad2c327e031c6 (diff)
downloadnng-6d54a51c87eb6d98b53eded8ca962a0e3a372f9e.tar.gz
nng-6d54a51c87eb6d98b53eded8ca962a0e3a372f9e.tar.bz2
nng-6d54a51c87eb6d98b53eded8ca962a0e3a372f9e.zip
Remove u_rawurl member of URL.
This means that most URLs can now be used without any allocations needed. It eliminates some failure paths.
Diffstat (limited to 'src/core/url.h')
-rw-r--r--src/core/url.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/url.h b/src/core/url.h
index 5aa53dfd..bb6b2382 100644
--- a/src/core/url.h
+++ b/src/core/url.h
@@ -14,7 +14,6 @@
#include "core/defs.h"
struct nng_url {
- char *u_rawurl; // never NULL
const char *u_scheme; // never NULL
const char *u_userinfo; // will be NULL if not specified
char *u_hostname; // name only, will be "" if not specified