diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-03-10 12:29:45 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-03-10 12:29:45 -0800 |
| commit | 6f2ced1d6c3bfd4a4fcbc29701beb42348782a53 (patch) | |
| tree | c0506731dc2176270a84d65f7a9cf5ae8d88634c /docs | |
| parent | cd7c92321f3714821c604e259376c729df461020 (diff) | |
| download | nng-6f2ced1d6c3bfd4a4fcbc29701beb42348782a53.tar.gz nng-6f2ced1d6c3bfd4a4fcbc29701beb42348782a53.tar.bz2 nng-6f2ced1d6c3bfd4a4fcbc29701beb42348782a53.zip | |
Eliminate copious whitespace in code blocks.
The comments had way too much leading whitespace. While this looks fine
in PDF and HTML, it's pretty ugly on most ereaders.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/man/nng_tcp.adoc | 8 | ||||
| -rw-r--r-- | docs/man/nng_tls.adoc | 8 | ||||
| -rw-r--r-- | docs/man/nng_ws.adoc | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/docs/man/nng_tcp.adoc b/docs/man/nng_tcp.adoc index 9a0c9897..ad615e11 100644 --- a/docs/man/nng_tcp.adoc +++ b/docs/man/nng_tcp.adoc @@ -82,16 +82,16 @@ These are `struct` types with the following definitions: typedef struct { // ... <2> - uint16_t sa_family; // must be NNG_AF_INET - uint16_t sa_port; // TCP port number + uint16_t sa_family; // must be NNG_AF_INET + uint16_t sa_port; // TCP port number uint32_t sa_addr; // ... } nng_sockaddr_in; typedef struct { // ... <2> - uint16_t sa_family; // must be NNG_AF_INET6 - uint16_t sa_port; // TCP port number + uint16_t sa_family; // must be NNG_AF_INET6 + uint16_t sa_port; // TCP port number uint8_t sa_addr[16]; // ... } nng_sockaddr_in6; diff --git a/docs/man/nng_tls.adoc b/docs/man/nng_tls.adoc index 6ad4033f..ca832085 100644 --- a/docs/man/nng_tls.adoc +++ b/docs/man/nng_tls.adoc @@ -109,16 +109,16 @@ These are `struct` types with the following definitions: typedef struct { // ... <2> - uint16_t sa_family; // must be NNG_AF_INET - uint16_t sa_port; // TCP port number + uint16_t sa_family; // must be NNG_AF_INET + uint16_t sa_port; // TCP port number uint32_t sa_addr; // ... } nng_sockaddr_in; typedef struct { // ... <2> - uint16_t sa_family; // must be NNG_AF_INET6 - uint16_t sa_port; // TCP port number + uint16_t sa_family; // must be NNG_AF_INET6 + uint16_t sa_port; // TCP port number uint8_t sa_addr[16]; // ... } nng_sockaddr_in6; diff --git a/docs/man/nng_ws.adoc b/docs/man/nng_ws.adoc index c41ccc1c..2ea361da 100644 --- a/docs/man/nng_ws.adoc +++ b/docs/man/nng_ws.adoc @@ -95,16 +95,16 @@ These are `struct` types with the following definitions: typedef struct { // ... <2> - uint16_t sa_family; // must be NNG_AF_INET - uint16_t sa_port; // TCP port number + uint16_t sa_family; // must be NNG_AF_INET + uint16_t sa_port; // TCP port number uint32_t sa_addr; // ... } nng_sockaddr_in; typedef struct { // ... <2> - uint16_t sa_family; // must be NNG_AF_INET6 - uint16_t sa_port; // TCP port number + uint16_t sa_family; // must be NNG_AF_INET6 + uint16_t sa_port; // TCP port number uint8_t sa_addr[16]; // ... } nng_sockaddr_in6; |
