From b9b386ac5a8bf772af95e7238c3f0b6673626923 Mon Sep 17 00:00:00 2001 From: Andrius Bentkus Date: Sat, 5 Jul 2014 10:18:08 +0200 Subject: [PATCH] doc: grammar, udp documentation fix up --- include/uv.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/uv.h b/include/uv.h index d7dcb449..9a4a7fcf 100644 --- a/include/uv.h +++ b/include/uv.h @@ -902,12 +902,12 @@ typedef void (*uv_udp_recv_cb)(uv_udp_t* handle, struct uv_udp_s { UV_HANDLE_FIELDS /* read-only */ - /* number of bytes queued for sending, ay send - * actually less since udp packets are truncated to the MTU size + /* Number of bytes queued for sending. This field strictly shows + * how much information is currently queued. */ size_t send_queue_size; /* number of send requests currently in the queue awaiting to - * be processed + * be processed. */ size_t send_queue_count; UV_UDP_PRIVATE_FIELDS @@ -1104,7 +1104,7 @@ UV_EXTERN int uv_udp_try_send(uv_udp_t* handle, * 0 on success, or an error code < 0 on failure. * * Note: The receive callback will be called with nread == 0 - * and addr == NULL when the there was nothing to read and + * and addr == NULL when there is nothing to read and * with nread == 0 and addr != NULL when an empty udp * packet is received. */