From edd3b6bc34f211bd3d58642d0c69ce1b5bb9dc3b 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);
--
cgit v1.2.3-70-g09d2