From 3db63c95b3b5cc8853fa6a3a19afe34a8ba20dd2 Mon Sep 17 00:00:00 2001
From: gdamore
Note that any strings returned by these functions are only valid until
-url is freed with nng_url_free.
nng_url_free.
int nng_url_sprintf(char *buf, size_t bufsz, const nng_url *url);
@@ -322,7 +322,7 @@ and creates a dynamically allocated nng_url, returning it in ur
important
-Only nng_url_free should be used to deallocate nng_url objects.
Only nng_url_free should be used to deallocate nng_url objects.
int nng_url_clone(nng_url **dup, const nng_url *url);
@@ -332,8 +332,8 @@ and creates a dynamically allocated nng_url, returning it in ur
void nng_url_free(nng_url *url);
The nng_url_free function destroy an nng_url object created with
-either nng_url_parse or nng_url_free.
-This is the only correct way to destroy an nng_url object.
+either nng_url_parse or nng_url_free.
+This is the only correct way to destroy an nng_url object.
Update a URL Port
void nng_url_resolve_port(nng_url *url, uint32_t port);
@@ -345,9 +345,14 @@ a URL with a new port. This will have no effect if the URL already has a non-zer
See Also
More information about Universal Resource Locators can be found in
RFC 3986.
+
+
--
cgit v1.2.3-70-g09d2