aboutsummaryrefslogtreecommitdiff
path: root/docs/man/nng_setopt.3.adoc
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-05-01 17:11:32 -0700
committerGarrett D'Amore <garrett@damore.org>2018-05-01 19:18:37 -0700
commit3d3fa690c4f81bf4ed0a2de42c3c8fbb9f4cca5c (patch)
treed670fc9ac327e017c62a72cbaeda4bcacda5f9dd /docs/man/nng_setopt.3.adoc
parent1ef281a7fbd544c6d3384fd8a71d10dc4bb081e8 (diff)
downloadnng-3d3fa690c4f81bf4ed0a2de42c3c8fbb9f4cca5c.tar.gz
nng-3d3fa690c4f81bf4ed0a2de42c3c8fbb9f4cca5c.tar.bz2
nng-3d3fa690c4f81bf4ed0a2de42c3c8fbb9f4cca5c.zip
Markup fixes, ensuring links are colored properly.
It turns out that when creating cross references, we need to make any text styling (generally literal characters) outside of the link, to avoid having the styling override the link color. (We prefer to have links colored for ease of use.) While here a few other markup, and actual content, errors were fixed.
Diffstat (limited to 'docs/man/nng_setopt.3.adoc')
-rw-r--r--docs/man/nng_setopt.3.adoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/man/nng_setopt.3.adoc b/docs/man/nng_setopt.3.adoc
index 91e54225..d54b7f27 100644
--- a/docs/man/nng_setopt.3.adoc
+++ b/docs/man/nng_setopt.3.adoc
@@ -70,14 +70,14 @@ The _ival_ is passed to the option.
==== `nng_setopt_ms()`
This function is used to configure time durations (such as timeouts) using
-type <<nng_duration.5#,`nng_duration`>>.
+type `<<nng_duration.5#,nng_duration>>`.
The duration _dur_ is an integer number of milliseconds.
==== `nng_setopt_ptr()`
This function is used to pass a pointer, _ptr_, to structured data.
The data referenced by _ptr_ is generally managed by other functions.
For example, TLS configuration objects created with
-(<<nng_tls_config_alloc.3tls#,`nng_tls_config_alloc()`>>)
+(`<<nng_tls_config_alloc.3tls#,nng_tls_config_alloc()>>`)
can be passed this way.
Note that this form is somewhat special in that the object is generally
not copied, but instead the *pointer* to the object is copied.