aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/nng/nng.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/nng/nng.h b/include/nng/nng.h
index a41deeb4..6c1eaafd 100644
--- a/include/nng/nng.h
+++ b/include/nng/nng.h
@@ -1088,9 +1088,9 @@ typedef struct nng_url {
char *u_userinfo; // will be NULL if not specified
char *u_host; // including colon and port
char *u_hostname; // name only, will be "" if not specified
- char *u_port; // port, will be "" if not specified
- char *u_path; // path, will be "" if not specified
- char *u_query; // without '?', will be NULL if not specified
+ uint16_t u_port; // port, may be zero for schemes that do not use
+ char *u_path; // path, will be "" if not specified
+ char *u_query; // without '?', will be NULL if not specified
char *u_fragment; // without '#', will be NULL if not specified
char *u_requri; // includes query and fragment, "" if not specified
} nng_url;