From 03f812ccb2876aacd10e589f996b5ec9e0133d5b Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 27 Apr 2025 22:02:04 -0700 Subject: More nng_err -- this time for dialer and listener allocations. --- include/nng/nng.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/nng/nng.h b/include/nng/nng.h index 21d7f290..07fe082c 100644 --- a/include/nng/nng.h +++ b/include/nng/nng.h @@ -1061,13 +1061,13 @@ NNG_DECL void nng_device_aio(nng_aio *, nng_socket, nng_socket); // port if one isn't specified and a default port is appropriate for // the scheme. The URL structure is allocated, along with individual // members. It can be freed with nng_url_free. -NNG_DECL int nng_url_parse(nng_url **, const char *); +NNG_DECL nng_err nng_url_parse(nng_url **, const char *); // nng_url_free frees a URL structure that was created by nng_url_parse(). NNG_DECL void nng_url_free(nng_url *); // nng_url_clone clones a URL structure. -NNG_DECL int nng_url_clone(nng_url **, const nng_url *); +NNG_DECL nng_err nng_url_clone(nng_url **, const nng_url *); // nng_url_sprintf prints a URL to a string using semantics similar to // snprintf. -- cgit v1.2.3-70-g09d2