summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-04-10 20:24:40 +0000
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-04-10 20:24:40 +0000
commit958b711b3b64792729671c16555127f433af89ef (patch)
tree3e38ea8cd5bda7c386006d88e5414114317738e4
parentff21b86d1ae552add51867028d99e13dd0121810 (diff)
Corrected typos in comments
-rw-r--r--src/microhttpd/connection.c4
-rw-r--r--src/microhttpd/daemon.c4
-rw-r--r--src/microhttpd/internal.c2
-rw-r--r--src/microhttpd/internal.h2
-rw-r--r--src/microhttpd/memorypool.c2
-rw-r--r--src/microhttpd/memorypool.h2
-rw-r--r--src/microhttpd/response.c2
7 files changed, 9 insertions, 9 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index e1bc1f7e..18cf25d5 100644
--- 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
index 2c5d220d..2c2d971a 100644
--- 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
index c31ffda1..547fd5a0 100644
--- 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
index 58317040..30db7e2a 100644
--- 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
index c347c160..8d679854 100644
--- 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
index 647ac2c9..84135c37 100644
--- 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
index cce93bcb..185cd2cd 100644
--- 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