From: Rich Salz Date: Wed, 24 Feb 2016 15:59:14 +0000 (-0500) Subject: Fix typo, reformat comment. X-Git-Tag: OpenSSL_1_1_0-pre4~527 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f7c798e34b50d3cc09629537153bb60ae9ea85fc;p=oweals%2Fopenssl.git Fix typo, reformat comment. Reviewed-by: Andy Polyakov --- diff --git a/apps/s_socket.c b/apps/s_socket.c index 5d66ab993a..958dd78850 100644 --- a/apps/s_socket.c +++ b/apps/s_socket.c @@ -167,9 +167,9 @@ int init_client(int *sock, const char *host, const char *port, ret = 0; for (ai = res; ai != NULL; ai = BIO_ADDRINFO_next(ai)) { - /* Admitedly, these checks are quite paranoid, we should - not get anything in the BIO_ADDRINFO chain that we haven't - asked for */ + /* Admittedly, these checks are quite paranoid, we should not get + * anything in the BIO_ADDRINFO chain that we haven't + * asked for. */ OPENSSL_assert((family == AF_UNSPEC || family == BIO_ADDRINFO_family(res)) && (type == 0 || type == BIO_ADDRINFO_socktype(res))); @@ -238,9 +238,8 @@ int do_server(int *accept_sock, const char *host, const char *port, return 0; } - /* Admitedly, these checks are quite paranoid, we should - not get anything in the BIO_ADDRINFO chain that we haven't - asked for */ + /* Admittedly, these checks are quite paranoid, we should not get + * anything in the BIO_ADDRINFO chain that we haven't asked for */ OPENSSL_assert((family == AF_UNSPEC || family == BIO_ADDRINFO_family(res)) && (type == 0 || type == BIO_ADDRINFO_socktype(res)));