Small fixes

- One typo fixed in crypto/bio/b_addr.c
- Add a comment in doc/crypto/BIO_parse_hostserv.pod to explain the
  blank lines with one lonely space each.

Reviewed-by: Andy Polyakov <appro@openssl.org>
This commit is contained in:
Richard Levitte 2016-02-08 21:42:00 +01:00
parent 0fd2d5fa3c
commit e5a82bfd68
2 changed files with 6 additions and 1 deletions

View File

@ -341,7 +341,7 @@ socklen_t BIO_ADDR_sockaddr_size(const BIO_ADDR *ap)
/**********************************************************************
*
* Address into database
* Address info database
*
*/

View File

@ -42,6 +42,11 @@ The service part can be a service name or its port number.
The returned values will depend on the given B<hostserv> string
and B<hostserv_prio>, as follows:
=for comment
The following is ONE verbatim block. To make sure it's rendered as
one block and not several, the blank lines in between have one space.
They should be left as is.
host + ':' + service => *host = "host", *service = "service"
host + ':' + '*' => *host = "host", *service = NULL
host + ':' => *host = "host", *service = NULL