commit 958b711b3b64792729671c16555127f433af89ef
parent ff21b86d1ae552add51867028d99e13dd0121810
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Sun, 10 Apr 2016 20:24:40 +0000
Corrected typos in comments
Diffstat:
7 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
@@ -1178,7 +1178,7 @@ transmit_error_response (struct MHD_Connection *connection,
* perform other updates to the connection if needed to prepare for
* the next round of the event loop.
*
- * @param connection connetion to get poll set for
+ * @param connection connection to get poll set for
*/
static void
MHD_connection_update_event_loop_info (struct MHD_Connection *connection)
@@ -1997,7 +1997,7 @@ process_broken_line (struct MHD_Connection *connection,
memory; however, doing this right gets tricky if we have a
value continued over multiple lines (in which case we need to
record how often we have done this so we can check for
- adjaency); also, in the case where these are not adjacent
+ adjacency); also, in the case where these are not adjacent
(not sure how it can happen!), we would want to allocate from
the end of the pool, so as to not destroy the read-buffer's
ability to grow nicely. */
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
@@ -2150,7 +2150,7 @@ MHD_cleanup_connections (struct MHD_Daemon *daemon)
* @param timeout set to the timeout (in milliseconds)
* @return #MHD_YES on success, #MHD_NO if timeouts are
* not used (or no connections exist that would
- * necessiate the use of a timeout right now).
+ * necessitate the use of a timeout right now).
* @ingroup event
*/
int
@@ -2941,7 +2941,7 @@ MHD_epoll (struct MHD_Daemon *daemon,
}
/* Connections with the default timeout are sorted by prepending
them to the head of the list whenever we touch the connection;
- thus it sufficies to iterate from the tail until the first
+ thus it suffices to iterate from the tail until the first
connection is NOT timed out */
next = daemon->normal_timeout_tail;
while (NULL != (pos = next))
diff --git a/src/microhttpd/internal.c b/src/microhttpd/internal.c
@@ -105,7 +105,7 @@ MHD_DLOG (const struct MHD_Daemon *daemon, const char *format, ...)
/**
- * Convert all occurences of '+' to ' '.
+ * Convert all occurrences of '+' to ' '.
*
* @param arg string that is modified (in place), must be 0-terminated
*/
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h
@@ -1451,7 +1451,7 @@ struct MHD_Daemon
/**
- * Convert all occurences of '+' to ' '.
+ * Convert all occurrences of '+' to ' '.
*
* @param arg string that is modified (in place), must be 0-terminated
*/
diff --git a/src/microhttpd/memorypool.c b/src/microhttpd/memorypool.c
@@ -191,7 +191,7 @@ MHD_pool_allocate (struct MemoryPool *pool,
* Reallocate a block of memory obtained from the pool.
* This is particularly efficient when growing or
* shrinking the block that was last (re)allocated.
- * If the given block is not the most recenlty
+ * If the given block is not the most recently
* (re)allocated block, the memory of the previous
* allocation may be leaked until the pool is
* destroyed (and copying the data maybe required).
diff --git a/src/microhttpd/memorypool.h b/src/microhttpd/memorypool.h
@@ -77,7 +77,7 @@ MHD_pool_allocate (struct MemoryPool *pool,
* Reallocate a block of memory obtained from the pool.
* This is particularly efficient when growing or
* shrinking the block that was last (re)allocated.
- * If the given block is not the most recenlty
+ * If the given block is not the most recently
* (re)allocated block, the memory of the previous
* allocation may be leaked until the pool is
* destroyed (and copying the data maybe required).
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
@@ -567,7 +567,7 @@ MHD_create_response_from_buffer (size_t size,
* Destroy a response object and associated resources. Note that
* libmicrohttpd may keep some of the resources around if the response
* is still in the queue for some clients, so the memory may not
- * necessarily be freed immediatley.
+ * necessarily be freed immediately.
*
* @param response response to destroy
* @ingroup response