[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] [tor/master] typos



Author: Roger Dingledine <arma@xxxxxxxxxxxxxx>
Date: Wed, 12 Jan 2011 18:38:52 -0500
Subject: typos
Commit: 10d385bd71cf9e37e5388a742dd618716e22645a

---
 src/common/log.c     |    2 +-
 src/common/mempool.c |    3 +--
 src/or/or.h          |    2 +-
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/common/log.c b/src/common/log.c
index 5d98ae6..ba84807 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 520e470..30d7788 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. */
diff --git a/src/or/or.h b/src/or/or.h
index 8aef2d0..b4ebe64 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1660,7 +1660,7 @@ typedef struct short_policy_t {
   unsigned int is_accept : 1;
   /** The actual number of values in 'entries'. */
   unsigned int n_entries : 31;
-  /** An array of 0 or more short_policy_entry_t values, each descriping a
+  /** An array of 0 or more short_policy_entry_t values, each describing a
    * range of ports that this policy accepts or rejects (depending on the
    * value of is_accept).
    */
-- 
1.7.1