aboutsummaryrefslogtreecommitdiff
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)
downloadlibmicrohttpd-958b711b3b64792729671c16555127f433af89ef.tar.gz
libmicrohttpd-958b711b3b64792729671c16555127f433af89ef.zip
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,
1178 * perform other updates to the connection if needed to prepare for 1178 * perform other updates to the connection if needed to prepare for
1179 * the next round of the event loop. 1179 * the next round of the event loop.
1180 * 1180 *
1181 * @param connection connetion to get poll set for 1181 * @param connection connection to get poll set for
1182 */ 1182 */
1183static void 1183static void
1184MHD_connection_update_event_loop_info (struct MHD_Connection *connection) 1184MHD_connection_update_event_loop_info (struct MHD_Connection *connection)
@@ -1997,7 +1997,7 @@ process_broken_line (struct MHD_Connection *connection,
1997 memory; however, doing this right gets tricky if we have a 1997 memory; however, doing this right gets tricky if we have a
1998 value continued over multiple lines (in which case we need to 1998 value continued over multiple lines (in which case we need to
1999 record how often we have done this so we can check for 1999 record how often we have done this so we can check for
2000 adjaency); also, in the case where these are not adjacent 2000 adjacency); also, in the case where these are not adjacent
2001 (not sure how it can happen!), we would want to allocate from 2001 (not sure how it can happen!), we would want to allocate from
2002 the end of the pool, so as to not destroy the read-buffer's 2002 the end of the pool, so as to not destroy the read-buffer's
2003 ability to grow nicely. */ 2003 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)
2150 * @param timeout set to the timeout (in milliseconds) 2150 * @param timeout set to the timeout (in milliseconds)
2151 * @return #MHD_YES on success, #MHD_NO if timeouts are 2151 * @return #MHD_YES on success, #MHD_NO if timeouts are
2152 * not used (or no connections exist that would 2152 * not used (or no connections exist that would
2153 * necessiate the use of a timeout right now). 2153 * necessitate the use of a timeout right now).
2154 * @ingroup event 2154 * @ingroup event
2155 */ 2155 */
2156int 2156int
@@ -2941,7 +2941,7 @@ MHD_epoll (struct MHD_Daemon *daemon,
2941 } 2941 }
2942 /* Connections with the default timeout are sorted by prepending 2942 /* Connections with the default timeout are sorted by prepending
2943 them to the head of the list whenever we touch the connection; 2943 them to the head of the list whenever we touch the connection;
2944 thus it sufficies to iterate from the tail until the first 2944 thus it suffices to iterate from the tail until the first
2945 connection is NOT timed out */ 2945 connection is NOT timed out */
2946 next = daemon->normal_timeout_tail; 2946 next = daemon->normal_timeout_tail;
2947 while (NULL != (pos = next)) 2947 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, ...)
105 105
106 106
107/** 107/**
108 * Convert all occurences of '+' to ' '. 108 * Convert all occurrences of '+' to ' '.
109 * 109 *
110 * @param arg string that is modified (in place), must be 0-terminated 110 * @param arg string that is modified (in place), must be 0-terminated
111 */ 111 */
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
1451 1451
1452 1452
1453/** 1453/**
1454 * Convert all occurences of '+' to ' '. 1454 * Convert all occurrences of '+' to ' '.
1455 * 1455 *
1456 * @param arg string that is modified (in place), must be 0-terminated 1456 * @param arg string that is modified (in place), must be 0-terminated
1457 */ 1457 */
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,
191 * Reallocate a block of memory obtained from the pool. 191 * Reallocate a block of memory obtained from the pool.
192 * This is particularly efficient when growing or 192 * This is particularly efficient when growing or
193 * shrinking the block that was last (re)allocated. 193 * shrinking the block that was last (re)allocated.
194 * If the given block is not the most recenlty 194 * If the given block is not the most recently
195 * (re)allocated block, the memory of the previous 195 * (re)allocated block, the memory of the previous
196 * allocation may be leaked until the pool is 196 * allocation may be leaked until the pool is
197 * destroyed (and copying the data maybe required). 197 * 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,
77 * Reallocate a block of memory obtained from the pool. 77 * Reallocate a block of memory obtained from the pool.
78 * This is particularly efficient when growing or 78 * This is particularly efficient when growing or
79 * shrinking the block that was last (re)allocated. 79 * shrinking the block that was last (re)allocated.
80 * If the given block is not the most recenlty 80 * If the given block is not the most recently
81 * (re)allocated block, the memory of the previous 81 * (re)allocated block, the memory of the previous
82 * allocation may be leaked until the pool is 82 * allocation may be leaked until the pool is
83 * destroyed (and copying the data maybe required). 83 * 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,
567 * Destroy a response object and associated resources. Note that 567 * Destroy a response object and associated resources. Note that
568 * libmicrohttpd may keep some of the resources around if the response 568 * libmicrohttpd may keep some of the resources around if the response
569 * is still in the queue for some clients, so the memory may not 569 * is still in the queue for some clients, so the memory may not
570 * necessarily be freed immediatley. 570 * necessarily be freed immediately.
571 * 571 *
572 * @param response response to destroy 572 * @param response response to destroy
573 * @ingroup response 573 * @ingroup response