Commit 0b42ead3 authored by Jelte Jansen's avatar Jelte Jansen

[trac499] fixed some trivial typos

parent 6c1f3af0
...@@ -121,7 +121,7 @@ public: ...@@ -121,7 +121,7 @@ public:
/// perform very low-level operations that requires the native /// perform very low-level operations that requires the native
/// representation. Passing the file descriptor to a different process is /// representation. Passing the file descriptor to a different process is
/// one example. This method is provided as a necessary evil for such /// one example. This method is provided as a necessary evil for such
//// limited purposes. /// limited purposes.
/// ///
/// This method never throws an exception. /// This method never throws an exception.
/// ///
......
...@@ -175,7 +175,7 @@ private: ...@@ -175,7 +175,7 @@ private:
// TODO: Remove temporary buffer // TODO: Remove temporary buffer
// The current implementation copies the buffer passed to asyncSend() into // The current implementation copies the buffer passed to asyncSend() into
// a temporary buffer and precedes it with a two-byte count field. As // a temporary buffer and precedes it with a two-byte count field. As
// ASIO should really be just about sendiong and receiving data, the TCP // ASIO should really be just about sending and receiving data, the TCP
// code should not do this. If the protocol using this requires a two-byte // code should not do this. If the protocol using this requires a two-byte
// count, it should add it before calling this code. (This may be best // count, it should add it before calling this code. (This may be best
// achieved by altering isc::dns::buffer to have pairs of methods: // achieved by altering isc::dns::buffer to have pairs of methods:
...@@ -302,7 +302,7 @@ TCPSocket<C>::asyncReceive(void* data, size_t length, size_t offset, ...@@ -302,7 +302,7 @@ TCPSocket<C>::asyncReceive(void* data, size_t length, size_t offset,
assert(endpoint->getProtocol() == IPPROTO_TCP); assert(endpoint->getProtocol() == IPPROTO_TCP);
TCPEndpoint* tcp_endpoint = static_cast<TCPEndpoint*>(endpoint); TCPEndpoint* tcp_endpoint = static_cast<TCPEndpoint*>(endpoint);
// Write the endpoint details from the comminications link. Ideally // Write the endpoint details from the communications link. Ideally
// we should make IOEndpoint assignable, but this runs in to all sorts // we should make IOEndpoint assignable, but this runs in to all sorts
// of problems concerning the management of the underlying Boost // of problems concerning the management of the underlying Boost
// endpoint (e.g. if it is not self-managed, is the copied one // endpoint (e.g. if it is not self-managed, is the copied one
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment