Fix typos in comments.

This commit is contained in:
Christopher Kohlhoff 2012-12-29 19:16:48 +11:00
parent d1f36e5f6b
commit 88cacbfa6d
4 changed files with 4 additions and 4 deletions

View File

@ -445,7 +445,7 @@ protected:
bool peer_is_open, socket_holder& new_socket, int family, int type,
int protocol, void* output_buffer, DWORD address_length, operation* op);
// Start an asynchronous read or write operation using the the reactor.
// Start an asynchronous read or write operation using the reactor.
ASIO_DECL void start_reactor_op(base_implementation_type& impl,
int op_type, reactor_op* op);

View File

@ -33,7 +33,7 @@ namespace detail {
struct stream_core
{
// According to the OpenSSL documentation, this is the buffer size that is is
// According to the OpenSSL documentation, this is the buffer size that is
// sufficient to hold the largest possible TLS record.
enum { max_tls_record_size = 17 * 1024 };

View File

@ -153,7 +153,7 @@ public:
// For connect/accept/shutdown, the operation
// is done, when return code is 1
// for write, it is done, when is retcode > 0
// for read, is is done when retcode > 0
// for read, it is done when retcode > 0
int error_code = !is_operation_done ?
::SSL_get_error( session_, rc ) :

View File

@ -57,7 +57,7 @@ public:
/// Construct a basic_random_access_handle without opening it.
/**
* This constructor creates a random-access handle without opening it. The
* handle needs to be opened before data can be written to or or read from it.
* handle needs to be opened before data can be written to or read from it.
*
* @param io_service The io_service object that the random-access handle will
* use to dispatch handlers for any asynchronous operations performed on the