aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2011-01-12 18:38:52 -0500
committerRoger Dingledine <arma@torproject.org>2011-01-12 18:38:52 -0500
commit10d385bd71cf9e37e5388a742dd618716e22645a (patch)
tree83b152d1238c44a6bcbb50defc3a106599ade3c4 /src/common
parent9a6a8ea4665f89057229811fd5fb7354549aad6b (diff)
downloadtor-10d385bd71cf9e37e5388a742dd618716e22645a.tar.gz
tor-10d385bd71cf9e37e5388a742dd618716e22645a.zip
typos
Diffstat (limited to 'src/common')
-rw-r--r--src/common/log.c2
-rw-r--r--src/common/mempool.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/common/log.c b/src/common/log.c
index 5d98ae6891..ba848077d7 100644
--- a/src/common/log.c
+++ b/src/common/log.c
@@ -658,7 +658,7 @@ change_callback_log_severity(int loglevelMin, int loglevelMax,
UNLOCK_LOGS();
}
-/** If there are any log messages that were genered with LD_NOCB waiting to
+/** If there are any log messages that were generated with LD_NOCB waiting to
* be sent to callback-based loggers, send them now. */
void
flush_pending_log_callbacks(void)
diff --git a/src/common/mempool.c b/src/common/mempool.c
index 520e470c7f..30d7788043 100644
--- a/src/common/mempool.c
+++ b/src/common/mempool.c
@@ -137,8 +137,7 @@ struct mp_chunk_t {
int capacity; /**< Number of items that can be fit into this chunk. */
size_t mem_size; /**< Number of usable bytes in mem. */
char *next_mem; /**< Pointer into part of <b>mem</b> not yet carved up. */
- /** Storage for this chunk */
- char mem[FLEXIBLE_ARRAY_MEMBER];
+ char mem[FLEXIBLE_ARRAY_MEMBER]; /**< Storage for this chunk. */
};
/** Number of extra bytes needed beyond mem_size to allocate a chunk. */