From cf576e329c8b17604e0bfa1005d502086e4cf8b6 Mon Sep 17 00:00:00 2001 From: Nathan Kent Date: Tue, 18 Sep 2018 19:55:48 -0400 Subject: Update docs for `nng_dial` and `nng_listen` Closes #731 --- docs/man/nng_dial.3.adoc | 2 +- docs/man/nng_listen.3.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/man/nng_dial.3.adoc b/docs/man/nng_dial.3.adoc index 50fa229c..77eda33b 100644 --- a/docs/man/nng_dial.3.adoc +++ b/docs/man/nng_dial.3.adoc @@ -76,7 +76,7 @@ This function returns 0 on success, and non-zero otherwise. `NNG_ECLOSED`:: The socket _s_ is not open. `NNG_ECONNREFUSED`:: The remote peer refused the connection. `NNG_ECONNRESET`:: The remote peer reset the connection. -`NNG_EINVAL`:: An invalid set of _flags_ was specified. +`NNG_EINVAL`:: An invalid set of _flags_ or an invalid _url_ was specified. `NNG_ENOMEM`:: Insufficient memory is available. `NNG_EPEERAUTH`:: Authentication or authorization failure. `NNG_EPROTO`:: A protocol error occurred. diff --git a/docs/man/nng_listen.3.adoc b/docs/man/nng_listen.3.adoc index b8e0ff5b..41d1fa9f 100644 --- a/docs/man/nng_listen.3.adoc +++ b/docs/man/nng_listen.3.adoc @@ -72,7 +72,7 @@ This function returns 0 on success, and non-zero otherwise. `NNG_EADDRINUSE`:: The address specified by _url_ is already in use. `NNG_EADDRINVAL`:: An invalid _url_ was specified. `NNG_ECLOSED`:: The socket _s_ is not open. -`NNG_EINVAL`:: An invalid set of _flags_ was specified. +`NNG_EINVAL`:: An invalid set of _flags_ or an invalid _url_ was specified. `NNG_ENOMEM`:: Insufficient memory is available. == SEE ALSO -- cgit v1.2.3-70-g09d2