From edd3b6bc34f211bd3d58642d0c69ce1b5bb9dc3b Mon Sep 17 00:00:00 2001 From: gdamore Date: Thu, 9 Oct 2025 01:22:20 +0000 Subject: deploy: 9c834956456924df7c885ab8b79573721acaff5c --- ref/api/url.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ref/api/url.html') diff --git a/ref/api/url.html b/ref/api/url.html index a38c2a1c..3d448fad 100644 --- a/ref/api/url.html +++ b/ref/api/url.html @@ -293,7 +293,7 @@ the query-information (the part following a ‘?’) and fragment if they are not. The returned string will not include the leading ‘?’ or ‘#’ characters.

Note that any strings returned by these functions are only valid until -url is freed with nng_url_free.

+url is freed with nng_url_free.

Format a URL

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.

Clone a URL

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